Use Windows PowerShell cmdlets to manage sites in SharePoint 2013

喜欢用PowerShell的朋友可以利用下方的命令管理的SharePoint 2013 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 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 Service Pack 1 (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 Service Pack 1 (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.

Get-SPDeletedSite

Gets a list of deleted site collections.

Remove-SPDeletedSite

Removes a deleted site collection.

Restore-SPDeletedSite

Restores a deleted site collection.

Get-SPSiteUrl

Displays all URL mappings for the site.

Remove-SPSiteUrl

Removes an URL mapping from the site.

Set-SPSiteUrl

Adds or changes an URL mapping for the site.

Get-SPSiteSubscriptionIRMConfig

Gets the Information Rights Management (IRM) settings.

Move-SPDeletedSite

Moves deleted site collections from one content database to another.

Set-SPIRMSettings

Sets the Information Rights Management (IRM) settings.

Set-SPSiteSubscriptionIRMConfig

Sets the Information Rights Management (IRM) settings.

Get-SPIRMSettings

Returns the Information Rights Management (IRM) settings.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值