sirichaiphumirat
asked on
How to get users information using powershell for a certain OU in a domain
How to get users information using powershell for a certain OU in a domain.
Can anyone help please, I'm trying to get some reports about users rights and access levels in a certain OU in a domain.
Thanks for any ones help!!
Can anyone help please, I'm trying to get some reports about users rights and access levels in a certain OU in a domain.
Thanks for any ones help!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If Vendor Support is the top level OU then the below is correct.
would my line be $ou = "ou=vendor support, dc=cb, dc=smbmi, dc=local"
Will.
would my line be $ou = "ou=vendor support, dc=cb, dc=smbmi, dc=local"
Will.
ASKER
great thank you!!
ASKER
example $ou = "ou=my test, dc=domain, dc =com"
my current domain setup is.... cb.smbmi.local
my ou im trying to search under is Vendor Support
would my line be $ou = "ou=vendor support, dc=cb, dc=smbmi, dc=local"
thanks for helping