Powershell Error "The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function..." Powershell Error "The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function..." powershell powershell

Powershell Error "The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function..."


I think this need to be run from the Management Shell rather than the console, it sounds like the module isn't being imported into the Powershell console. You can add the module by running:

Add-PSSnapin Microsoft.Sharepoint.Powershell

in the Powershell console.


Run this script from SharePoint 2010 Management Shell as Administrator.


Instead of Windows PowerShell, find the item in the Start Menu called SharePoint 2013 Management Shell:

enter image description here