So someone asked me today, “What if I don’t want to use the SharePoint 2010 Management PowerShell”?
I looked blankly at them and thought to myself, “Well that’s just silly…” and then decided to look into the matter 🙂
So it’s pretty easy to add the SharePoint snapin for PowerShell. You can do this manually, or you can simply run the SharePoint powershell script that adds the snapin and sets your location.
Okay, but where is this cute little script located?
%InstallRoot%Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14CONFIGPOWERSHELLRegistrationSharePoint.ps1
Of course if you’ve set up links properly you can quickly get to this through some other means of a symlink to 14-root.
Nonetheless, in case you don’t feel like going into the Microsoft SharePoint 2010 Products from the menuing interface of Windows and prefer PowerShell, then there you have it.