Sunday, December 1, 2013

The term 'Select-Object' is not recognized as Name of a cmdlet

Hi friends,
This error usually occurs in SharePoint 2013 while running SharePoint 2013 Management Powershell.



This happens due to change in environment variable of “PSModulePath” in windows environment variables
To make it workable you need to perform following actions:
è Log in to the SharePoint Server
è Right click on my computer-> Properties-> Advance System Settings -> Environment Variable
è Scroll your System Variable section-> (PSModulePath) you will find below entry in Variable Value section 
ð  PS Module path:
;c:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules
è append below path in seme line:
;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
è It should look like below:
;c:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
 That’s it, now run SharePoint 2013 management shell as administration and you will not see the error

Happy Configuration.....






5 comments: