I've recently discovered the "adminSDHolder" feature of Active Directory. I need a quick way to identify all users who will be affected by it, namely a script to dump the user accounts.
PowerShell Script to find AD users with adminCount > 0
active-directorypowershell
Related Topic
- Active Directory – Error When Adding Bulk Users with PowerShell Script
- Powershell: lastLogonTimestamp blank for some users
- Powershell – Find users belonging to more than one AD group
- Powershell – How to create Organizational Units recursively on Powershell
- Powershell – 24 hour expiration of first password
- Powershell – Find all users with password never expires
- Powershell – Unable to extract full user list from AD OUs having 2000+ user accounts. Limited to 2000 users
Best Answer
You can use this powershell script to return the users that have an adminCount greater than 0, which means that they are affected by the adminSDHolder feature. You'll need the AD Module for PowerShell installed, which comes with RSAT.