I recently came across a tool that makes authoring PowerShell scripts easier PowerGUI.
PowerGUI and its in-built intellisense allows you to browse through the different PowerShell commands and unlock the power of PowerShell to automate administrative tasks and quickly change objects within the SharePoint API.
You can download it from here
Once you have downloaded and installed the program you need to load in the Microsoft.SharePoint.PowerShell library snapin.
Step 1
Within PowerGUI Click on File then PowerShell Libraries
STEP 2
In the Snapins/Modules window Select the Microsoft.SharePoint.PowerShell library and Click OK
STEP 3
You are now ready to start using the SharePoint PowerShell library. Click New File
STEP 4
Within the PowerGUI code editor when you type you should know have IntelliSense on the different SharePoint - PowerShell commands.
STEP 5
Once you have created your new script you can run it by clicking on the Start icon
STEP 6
The output from your script will know be output in the console window.
No comments:
Post a Comment