Browsed by
Category: PowerShell

How to use PowerShell to get quota information in a usable way

How to use PowerShell to get quota information in a usable way

There are many good resources out there about how to create, modify, & set quotas using PowerShell, that isn’t an issue. Zach Rosenfield has a good post on Managing Bulk Site Collection Quotas in PowerShell and there are dozens of others out there who can give you all of the information about making changes to quotas that you want. My problem was how do I tell what a site’s quota template assignment is and how close they are to the…

Read More Read More

How to: Get your Managed Account passwords when they are changed automatically by SharePoint 2010

How to: Get your Managed Account passwords when they are changed automatically by SharePoint 2010

Scenario: Using Managed Accounts the way that SharePoint 2010 is designed you allow SharePoint 2010 to manage your password changes automatically for you. Your farm gets into an inconsistent state, or you allow SharePoint 2010 to change your farm admin account and you realize that you cannot start the UPS without knowing the farm account password. What do you do? Resolution: Run the following PowerShell command from the SharePoint 2010 Management Shell as a Farm Administrator: function Bindings() { return…

Read More Read More

What are the PowerShell cmdlets that correspond to STSADM commands?

What are the PowerShell cmdlets that correspond to STSADM commands?

Now that SharePoint 2010 is intertwined with PowerShell have you been looking for that cipher that tells you what PowerShell command you can run to do all of the STSADM commands that you know and love from SharePoint 2007 in SharePoint 2010?  I was too!  Here is the list that I have come up with (combined with our good friends at TechNet): PowerShell cmdlets STSADM Commands Enable-SPFeature Activatefeature Enable-SPInfoPathFormTemplate Activateformtemplate New-SPAlternateUrl Addalternatedomain Mount-SPContentDatabase Addcontentdb   New-SPContentDatabase Install-SPDataConnectionFile Adddataconnectionfile New-SPExcelFileLocation Add-ecsfiletrustedlocation…

Read More Read More