Useful Powershell scripts

Get AD user with domain admin rights

 get-adgroupmember 'domain admins' | select name,samaccountname

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top