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…


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: My Take On Finding Stale User and Computer Accounts

Using PowerShell and information in Active Directory to identify 'stale' user or computer accounts is prone to inaccuracies. This is because there are many circumstances or technical nuances that can make the data unreliable. For example, think of a globe-trotting sales person, they (and their laptop) might not see the office for months, however, they both still remain company…

1