10 Years of PowerShell!

Is it really 10 years? Time passes so fast. I was a Sys Admin when PowerShell was released, in November 2006, and I distinctly recall the buzz and confusion. Buzz – because, as a scripter, a new scripting language, a new Microsoft scripting language was something very cool. Confusion – because, in my team, we didn’t understand how we…

0

Days of Service and Service Anniversaries

Not an exact science*, but PowerShell and Active Directory can be used to arrive at the length of service for people in your team. *this post assumes that the WhenCreated date on user accounts corresponds to an employee’s actual start date.   Take a look at this… $Team | ForEach-Object { Get-ADUser -Filter {Name -like $_} -Properties…

0

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

0