Site management cmdlets (SharePoint Foundation 2010)
Published: May 12, 2010
You can use Windows PowerShell cmdlets to manage sites in a Microsoft SharePoint Foundation 2010 farm.
| Cmdlet name | Description |
|---|---|
| Returns a mapping to a custom layout page. | |
| Returns the user account or accounts that match a given search criteria. | |
| Returns all subsites that match the given criteria. | |
| Returns all Web applications that match the given criteria. | |
| Returns the local SharePoint farm. | |
| Returns a list of the SharePoint-related products installed in the farm and the versions of all updates installed for each product. | |
| Returns the server or servers in the farm that match the given identity. | |
| Gets a list of deleted site collections. This cmdlet was introduced in Microsoft SharePoint Foundation 2010 with Service Pack 1 (SP1). | |
| Returns all site collections that match the given criteria. | |
| Returns a site administration object that farm administrators can use to view certain information about site collections to which they might not have access. | |
| Returns the site subscription for the given URL or all site subscriptions in the local farm. | |
| Returns the configuration properties of a site subscription. | |
| Moves site collections from one content database to another. | |
| Migrates a user account in SharePoint 2010 Products. | |
| Creates a new site collection at the specified URL. | |
| Creates a new site subscription. | |
| Adds an existing user to a SharePoint site with the designated permissions. | |
| Creates a new site in an existing site collection. | |
| Creates a new Web application within the local farm. | |
| Creates a new zone instance for the Web application. | |
| Removes a deleted site collection. This cmdlet was introduced in SharePoint Foundation 2010 with SP1. | |
| Completely deletes an existing site collection and all subsites. | |
| Removes data stored in a subscription settings service application for a set of site subscriptions. | |
| Removes the settings service data for a specified site subscription, or finds and removes orphaned data. | |
| Removes a user from a Web site. | |
| Completely deletes the specified Web. | |
| Deletes the specified Web application. | |
| Renames a server that is currently connected to the farm. | |
| Restores a deleted site collection. This cmdlet was introduced in SharePoint Foundation 2010 with SP1. | |
| Configures the specified site collection. | |
| Allows farm administrators to configure any site collection. | |
| Sets the configuration properties of a site subscription. | |
| Sets properties of a subscription settings service application. | |
| Configures properties on an existing user. | |
| Configures the specified Web application. | |
| Configures the specified subsite. | |
| Creates a backup file of site subscription data. | |
| Restores a backup of subscription site settings to the given subscription identifier. |
Change History
| Date | Description |
|---|---|
| May 12, 2010 | Initial publication |
