I am getting an error when starting SharePoint Management Shell for SP2013 on Windows Server 2012.
select : The term 'Select-Object' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\15\CONFIG\POWERSHELL\Registration\SharePoint.ps1:1 char:16
- $ver = $host | select version
- ~~~~~~
- CategoryInfo : ObjectNotFound: (Select-Object:String) [], Comma ndNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
do I need to import any modules ? If so, from where ?
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
– Chris N