AD cmdlets at this point (which is v 1.0.5) do not include native support for Session and Remote Controls user attributes. So what do you do if you need them? Turns out, you have 2 options:
- Go the hard way and try to make sense of the way AD stores them, or
- Ask Kirk the Poshoholic. 😉
At PowerGUI.org forums he supplied both the PowerShell script extending AD cmdlets to provide Session and Remote Controls attributes and the xml file you can use on your computer to make it extend the type automatically.
Good job Kirk! (And the Windows PowerShell team at Microsoft which made extending types possible.)
Tags: AD, AD cmdlets, Active Directory, PowerShell