Getting Started: SharePoint and Powershell
Very first question: What's the difference between SharePoint Management PowerShell and Windows PowerShell ISE SharePoint Management PowerShell: 1. Wrapper on top of Windows PowerShell with preloaded SharePoint objects 2. Comes with boring black command prompt 3. Comes with "SharePoint Snapin" Windows PowerShell ISE (Integrated Scripting Environment) 1. Simple default PowerShell with no SharePoint objects 2. comes with developer friendly and performs object based command line functions 3. We can add "SharePoint Snapin" Note: Windows PowerShell and Windows PowerShell ISE are different. Later is the better IDE and before one is typical black command prompt Script to add "SharePoint Snapin" if((Get-PSSnapin "Microsoft.SharePoint.PowerShell") -eq $null) { Add-PSSnapin Microsoft.SharePoint.PowerShell } Post this, you can simply test it with simple commands: $web = Get-SPWeb "<<Siteurl>>"