PowerShell is what you make out of it. It's a base for powerful scripting that can help you determine specific information about an OCS deployment, change a single attribute of a single user or change multiple attributes on thousands of users.
This script can be loaded by launching PowerShell, change directory to where your PS scripts live, and run the script:
You'll now be able to run any of the OCS functions for the OCS-ALL,ps1 script. Some of these functions will return a single line answer and some will return many lines of data. In the later case I like to "pipe" the results into a text file.
Other functions from the OCS-ALL.ps1 that I use that require you to pipe the results into a text file are:
The following are all the functions within the OCS-ALL.ps1 script.