Loading the SharePoint 2010 Management PowerShell

Add a comment July 21st, 2010

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 Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\POWERSHELL\Registration\SharePoint.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.

Happy PowerShelling!

  1. No comments yet. Go ahead, be the first...
  1. |
    July 21st, 2010 at 04:04 | #1

    [...] This post was mentioned on Twitter by Planet SharePoint, Dan Usher, Jim Poshible, Jim Poshible, Erik Neumann and others. Erik Neumann said: #sharepoint Loading the SharePoint 2010 Management PowerShell: So someone asked me today, “What if I don’t want to… http://bit.ly/alY334 [...]

You must be logged in to post a comment.