why powershell? adfind -default -f "(&(objectcategory=user)(objectclass=person))" samaccountname memberof -csv -nodn
(and believe me, if I thought that PowerShell was the best tool for the job, I would tell you.) adfind is available at http://www.joeware.net<http://www.joeware.net/> ________________________________ From: Stefan Jafs [sj...@amico.com] Sent: Friday, May 08, 2009 9:16 AM To: NT System Admin Issues Subject: Dumping users and groups from AD into csv I have been doing some Googeling but drawing a blank. I would like to have a PowerShell to dump all my users with group member ships to a csv file any ideas? Thanks ___________________________________ Stefan Jafs This email and any attached files are confidential and intended solely for the intended recipient(s). If you are not the named recipient you should not read, distribute, copy or alter this email. Any views or opinions expressed in this email are those of the author and do not represent those of the Amico Corpoartion company. Warning: Although precautions have been taken to make sure no viruses are present in this email, the company cannot accept responsibility for any loss or damage that arise from the use of this email or attachments. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~