Search Active Directory OU for computer Accounts, export to CSV

** THIS SCRIPT IS PROVIDED WITHOUT WARRANTY, USE AT YOUR OWN RISK **

This is a very simple script that will search an Active Directory OU for Computer accounts and exports the results to a CSV file. It also includes in the search any child OUs.

I’m pretty sure it requires Powershell V3 and it will require importing the AD Module.

 

Leave a Reply