I have loaded the QUEST add on to AD Powershell. The cmd I found works but only for the top level OU called Locations. I need to drill down to get users out of an OU that is two levels below the OU=Locations.......OU=Locations\HSG\UK
Here is the cmd what am I doing wrong - Thanks
get-qaduser -searchroot "OU=Locations\HSG\UK,DC=AD,DC=LOCAL"
| Select Name, Parentcontainer | Export-csv C:\temp\users1.csv -notype