PS results into Excel

by May 29, 2013

i Found this inventory script that Jesse Hamrick wrote over att powershellpro.com that gathers alot of wmi info about a selection of servers and sends it to a new excel file:

http://www.powershellpro.com/wp-content/uploads/CompInv_v2.ps1

 

so i thought i could do something similar now, but with information regarding our AD (that we are trying to clean up)

 

so, in short, how do i send the output from get-aduser or search-aduser into excel in a similar way?