Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Site management cmdlets (SharePoint Server 2010)

Published: May 12, 2010

You can use Windows PowerShell cmdlets to manage sites in a Microsoft SharePoint Server 2010 farm.

Cmdlet name Description

Get-SPCustomLayoutsPage

Returns a mapping to a custom layout page.

Get-SPUser

Returns the user account or accounts that match a given search criteria.

Get-SPWeb

Returns all subsites that match the given criteria.

Get-SPWebApplication

Returns all Web applications that match the given criteria.

Get-SPFarm

Returns the local SharePoint farm.

Get-SPProduct

Returns a list of the SharePoint-related products installed in the farm and the versions of all updates installed for each product.

Get-SPServer

Returns the server or servers in the farm that match the given identity.

Get-SPDeletedSite

Gets a list of deleted site collections. This cmdlet was introduced in Microsoft SharePoint Server 2010 with Service Pack 1 (SP1).

Get-SPSite

Returns all site collections that match the given criteria.

Get-SPSiteAdministration

Returns a site administration object that farm administrators can use to view certain information about site collections to which they might not have access.

Get-SPSiteSubscription

Returns the site subscription for the given URL or all site subscriptions in the local farm.

Get-SPSiteSubscriptionConfig

Returns the configuration properties of a site subscription.

Move-SPSite

Moves site collections from one content database to another.

Move-SPUser

Migrates a user account in SharePoint 2010 Products.

New-SPSite

Creates a new site collection at the specified URL.

New-SPSiteSubscription

Creates a new site subscription.

New-SPUser

Adds an existing user to a SharePoint site with the designated permissions.

New-SPWeb

Creates a new site in an existing site collection.

New-SPWebApplication

Creates a new Web application within the local farm.

New-SPWebApplicationExtension

Creates a new zone instance for the Web application.

Remove-SPDeletedSite

Removes a deleted site collection. This cmdlet was introduced in SharePoint Server 2010 with SP1.

Remove-SPSite

Completely deletes an existing site collection and all subsites.

Remove-SPSiteSubscription

Removes data stored in a subscription settings service application for a set of site subscriptions.

Remove-SPSiteSubscriptionSettings

Removes the settings service data for a specified site subscription, or finds and removes orphaned data.

Remove-SPUser

Removes a user from a Web site.

Remove-SPWeb

Completely deletes the specified Web.

Remove-SPWebApplication

Deletes the specified Web application.

Rename-SPServer

Renames a server that is currently connected to the farm.

Restore-SPDeletedSite

Restores a deleted site collection. This cmdlet was introduced in SharePoint Server 2010 with SP1.

Set-SPSite

Configures the specified site collection.

Set-SPSiteAdministration

Allows farm administrators to configure any site collection.

Set-SPSiteSubscriptionConfig

Sets the configuration properties of a site subscription.

Set-SPSubscriptionSettingsServiceApplication

Sets properties of a subscription settings service application.

Set-SPUser

Configures properties on an existing user.

Set-SPWebApplication

Configures the specified Web application.

Set-SPWeb

Configures the specified subsite.

Export-SPSiteSubscriptionSettings

Creates a backup file of site subscription data.

Import-SPSiteSubscriptionSettings

Restores a backup of subscription site settings to the given subscription identifier.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.