All Properties AND a Constructed Attribute? Get out of here!

Can you retrieve all of an object’s properties and request a constructed attribute at the same time? Of course you can! The post would be a little pointless if I answered NO and stopped RIGHT HERE. With the AD cmdlets, we all know we can ask for an object and all of its properties by using -Properties *…


Active Directory Object Parent GUID Fun!

Another week of AD Object GUID fun! I’ve created an abridged version of a previous post, so crack open your extreme cola of choice for some extreme PowerShell of choice… Let’s ask for the ParentGuid (the clue’s in the name) constructed attribute of an AD object. How about an OU? $Ou = Get-ADOrganizationalUnit -Identity “OU=Word Smiths,OU=User Accounts,DC=HALO,DC=NET” -Properties…


msDS-parentdistname vs. parentGUID

Last week I wrote about mirroring an OU structure, from a source domain to a test domain, with the help of a couple of PowerShell scripts. The first script had to capture the distinguished name of the parent object of each OU found in the source domain. This would allow me to make sure that an equivalent parent object existed in the target domain before…