The Naming of PowerShell Cmdlets

As previously mentioned, the naming of PowerShell cmdlets differs from the ones you got used to in the SharePoint Central Administration interface and is much similar to STSADM and API naming. Here are the most commonly used cmdlets in this chapter:

Get-WebApplication— Returns all SharePoint web applications

Get-SPSite— Returns all site collections

Get-SPWeb— Returns all SharePoint sites in a given site collection

Get Microsoft SharePoint 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.