Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, January 25, 2013 2:51 PM
I have the below code that displays domain admins bu name, but i want to list whether they are disabled or enabled? Any Help appreciated
Get-ADGroupMember "Domain Admins" | Format-Table Name
All replies (2)
Friday, January 25, 2013 3:20 PM ✅Answered
Found out by tinkering , below works fine
Get-QADGroupMember "Domain Admins" -IncludeAllProperties | Format-Table Name,Description,AccountIsDisabled
Friday, January 25, 2013 3:16 PM
Try this out:
Get-ADGroupMember "Domain Admins" | Select * | Format-Table Name,Enabled
Enabled will yield true or false.