The below will give you all users that reside in a single OU, change SearchScope to "Subtree" if you want it to recurse through down-level OU's.
$OU="OU=Standard Users,OU=Users,DC=internal,DC=domain,DC=com" Get-ADUser –SearchBase $OU –SearchScope OneLevel -Properties * | export-csv -notypeinformation -path $env:userprofile\desktop\OU_export.csv ________________________________ From: listsad...@lists.myitforum.com [listsad...@lists.myitforum.com] on behalf of Kevin Ray [kevinalive...@gmail.com] Sent: Wednesday, April 06, 2016 3:50 PM To: scripting@lists.myitforum.com Subject: [scripting] Script For AD User specifc OU group members to export in excel Hi All, lookin any kind of Script For User OU group members to export in excel Kevin