Posted in Windows Powershell, Windows Server | 1 Comment | 3,820 views | 09/10/2009 12:55
I got an email about how to get local administrators in all computer members of Active Directory. So I created an Powershell script to do this in an easy way.
First of all, let’s find all computers in Active Directory:
Then let’s get their Local Administrators:
You see How easy to get Local Administrators with Powershell? If you use Powershell V2, it is even easier.