It's finally here! SharePoint PowerShell Module v1.0 is ready for your feedback. We decided to scale a number of additional features out of the first release to gather some feedback on what does/doesn't work first. We have a lot of great ideas, but most importantly we want to hear from people who are actually using it.
Please provide us feedback either on this site (discussions) or via email: sposhmod@live.com
Preparing PowerShell:1. Install PowerShell v2:
http://blogs.msdn.com/powershell/default.aspx (link on right)
2. After install, open PowerShell and ensure that
$env:PSModulePath points to "~My Documents\WindowsPowerShell\Modules" folder (if not, create the folder structure and add it to the environment variables)
3. Run command:
set-executionpolicy unrestricted (this will allow you to run scripts from unsigned *.ps1 files)
Installing the module:1. Open PowerShell (or Integrated Scripting Environment - ISE)
2. Type:
Import-Module SPoshMod3. Done!
If you make any changes to the scripts, you will need to re-import the module using:
Import-Module SPoshMod -forceWARNING At this time PowerShell 2.0 is in CTP3 release. Not that CTP release is not supported by Microsoft for production use. Use at your own risk as cmdlets, procedures, and features may change or break without notice. Check: http://blogs.msdn.com/powershell for more information on version 2.0 RTM. Use this script at your own risk. We, nor Microsoft, are responsible for anything this script will do or damage it may cause.
NOTE: We are looking for scripts to add to the module. If you have written a helpful script or function and think it would be useful in the module, please send them to sposhmod@live.com We will give credit to you in the module.