anandthearchitect.com
PowerShell: List users from a specific OU
Here is the command to list all users from specific OU in Active Directory. Import-Module ActiveDirectory Get-ADUser -Filter * -SearchBase “ou=ouname,dc=company,dc=com” If you don’t kno…