PowerShell Pack for SharePoint
A collection of PowerShell commands, functions, and scripts to help support your SharePoint environment
Project Is Moving!!
Please see this project develop at: http://www.codeplex.com/SPoshMod (it will support PowerShell v2.0 Modules) ----------------------------------------------------------------------------------------------------
To install/use: 1. Download latest release of PowerShellPackForSharePoint.ps1 from the Downloads tab
2. Download and install PowerShell 1.0 or greater
3. Open PowerShell
4. Run the following command:
set-executionpolicy Unrestricted (this allows you to run scripts in PowerShell)
Batch File Approach (Manual)a. Create a Windows Batch File (.bat)
b. Edit the batch file, Add the following command:
powershell.exe -noexit <path to ps1 script>
c. Run the batch file
Profile Approach (Automatic)a. Open Powershell.exe
b. Run the following command: $profile (this will output the path to your profile script)
c. Open up notepad and save a new file with the filename provided in step "b" above.
d. Edit the file in notepad to include a call to the PowerShell Pack for SharePoint (just reference the location)
e. Re-open PowerShell (it will load the script each time powershell opens)
HelpUse: get-help to display all of the variables and functions that are loaded by the script
Use: get-help <command> to display specific help details around a given function