An Engineers Notebook

Export a list of all computers in Active Directory

Import-Module ActiveDirectory
Get-ADComputer -Filter * | select-object SamAccountName | Export-CSV -path computers.csv

Leave a Reply

Your email address will not be published.