Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

SharePoint 101 B. PowerShell A SharePoint Admin's Best Friend

Philippe Lavoie edited this page Mar 11, 2020 · 1 revision

PowerShell helps you automate your deployment and monitoring processes.

PowerShell Basics

References:

SharePoint Management Shell

  • Location of the SharePoint PowerShell profile
  • Granting SharePoint PowerShell Admin Permissions
    • Add-SPShellAdmin -UserName domain\user -Database (Get-SPContentDatabase -WebApplication http://webappurl)
    • Set-ExecutionPolicy (about_Execution_Policy)
  • Exercises:
    • Create a new site collection using a specific template
    • List all sites in the farm

References:

Advanced tips

Clone this wiki locally