Add-SPShellAdmin


Applies to: SharePoint Foundation 2013, SharePoint Server 2013 Enterprise

When you run this cmdlet to add a user to the SharePoint_Shell_Access role, you must have membership in the securityadmin fixed server role on the SQL Server instance, membership in the db_owner fixed database role on all affected databases, and local administrative permission on the local computer.


This cmdlet is intended only to be used with a database that uses Windows authentication. There is no need to use this cmdlet for databases that use SQL authentication; in fact, doing so may result in an error message.

Continue reading

Advertisements

Scripts used for administration tasks


Add-SPSite: Adds a new SharePoint site


Import-SPSite: Imports a site from a backup file


Export-SPSite: Exports a site to a backup file


Get-SPWeb: Gets a SharePoint web site


Remove-SPSite: Removes a site from the site collection


Add-SPList: Creates a new SharePoint list


Display-SPList: Displays all lists


Remove-SPList: Removes a list


Get-SPView: Gets a SharePoint view


Display-SPItemInformation: Displays detailed item information


Set-SPItem: Modifies a list item


CheckIn-SPDocument: Checks in a document in SharePoint


CheckOut-SPDocument: Checks out a document in SharePoint


Display-SPWebPart: Displays all web parts


Add-SPUser: Adds a new user to a group in SharePoint