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 *…

0

Active Directory Object GUID Conversion Larks!

What fun I have in the hotel of an evening! Gym, meal and then Active Directory object conversion larks and laughs! Here’s my latest evening escapade… Let’s get the GUID of an Active Directory computer object. $b = (Get-ADComputer -Identity “CN=HALOCLI1001,OU=Clients,DC=HALO,DC=NET”).ObjectGUID   Now, convert it to a byte array. $c = $b.ToByteArray(); $c -join “”,…

1

Tidy Up That Pesky Computers Container with PowerShell

Another customer question (they're keeping the PoSh Chap blog in business)! By default, when a computer account is created it gets placed in the Computers container.     Now, experience tells me that some folks aren't good at moving these computers to a production OU and as they're in a container Group Policies won't be applied.  In fact, I've heard…

1

One-Liner: Get Windows Server 2003 Server Count

Extended support for Windows Server 2003 ends on July 14, 2015…      In Search of Lost Time   Hopefully, you've already migrated away from this operating system. If you haven't and you're looking to understand the scale of the task facing you, the following one-liner examples may prove useful. This one will work with…

2

Prepopulate Passwords to RODCs with PowerShell

Hello! The sun is shining, spring has sprung and it’s nearly the weekend… life is sweet! Today, I’m going to talk about using the AD Replication cmdlets, introduced with Windows Server 2012, to prepopulate passwords to your RODCs. No more repadmin, no more DSA.msc… just pure, unadulterated PowerShell. Today gets better and better! Let’s begin… I…

0