Justin Tucker
asked on
Get all disabled users in specific OU's in Active Directory using Quest Powershell
I have begun running a script to pull all users that are disabled within multiple OU's can you let me know where i'm going wrong please?
Get-QADUser -Searchbase "OU=Enterprise Objects, DC=, DC=" - disabled
Get-QADUser -Searchbase "OU=Enterprise Objects, DC=, DC=" - disabled
here is a quick guide to help you install the Active Directory module for PowerShell.
http://www.tomsitpro.com/articles/powershell-active-directory-cmdlets,2-801.html
http://www.tomsitpro.com/articles/powershell-active-directory-cmdlets,2-801.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Will!
"Search-ADAccount -AccountDisabled"