List OCS Pools and Policies with a VBScript. The idea being that you'll need the distinguished name of the policy that you want to apply to a user with any script that you use to apply a policy. You can find that and the other OCS related scripts from ITAdminTools here, written in Perl and VBScript. Well, it's about time we start adding PowerShell examples to the site.
The script gets the path of the configuration context of your Active Directory, finds the policies container, then lists the policies, displays the distinguished name (DN), policy type, and the policy content.
Another OCS scripting example brought to you by ITAdminTools.com!