Extend AD cmdlets’ reach

AD cmdlets project is moving along with new features being added all the time but what if what you get now (and the current version is 1.0.2) does not give you what you want yet?

Similar to how we used QADObject to manage OUs in the absence of QADOrganizationalUnit cmdlets you can get access to individual attributes as well.

Checkout this thread at PowerGUI.org to see how you can retrieve the attributes not  yet exposed in cmdlets. For example, to get the LastName attribute missing in 1.0.2 you can use the following command:

Get-QADUser | select Name, FirstName, @{Name=”Last Name”; Expression={$_.DirectoryEntry.sn}}

0 Responses to “Extend AD cmdlets’ reach”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




My Recent Tweets

Legal

The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

May 2007
M T W T F S S
« Apr   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

%d bloggers like this: