Created
July 15, 2020 15:52
-
-
Save eizedev/e6e0989593392bba63f50b8ff406f4f1 to your computer and use it in GitHub Desktop.
Get AdminSDHolder protected AD Users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Users = get-aduser -Filter {admincount -gt 0} -Properties adminCount -ResultSetSize $null | |
$Users | Select-Object Name, UserPrincipalName, SamAccountName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment