Some of you may have noticed that the ISE environment is not there as a default for Server 2008 R2. This post will go through adding it and also loading the SharePoint modules to enable you to script all your sharepoint bit’s and pieces in a nice environment.
The ISE is just a windows feature. So click server manager:
Features, Add features:
Tick The Windows Powershell ISE Feature, Click next then install.
It will say that the server may require a restart. The server does not require a restart to add the ISE.
That’s it! It’ll now be on your start menu. If you want to do it all via script then I found this blog from Shay Levy
One thing I found with the ISE was that the Modules and Snapins for SharePoint are not loaded. This means that you can’t run the good old New-SPWeb command! If anyone finds a better way of doing this please let me know but this is how I work so far:
Load PS with modules (As Admin):
Then in the console type “ise” (no quotes) and the ISE will load up – the magic of an Alias!
Run this command from the ISE:
Add-PSSnapin Microsoft.SharePoint.Powershell
And you are good to go with all the SharePoint cmdlets.
Like I said, please let me know if you know a better way of loading the Powershell ISE with all the modules and snapins ready to go!














Blog Comments