Locksmith
Locksmith copied to clipboard
Private/Test-IsADAdmin.ps1
This file has a typo "Domain Admins" is missing the s
([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole("Domain Admin")
Thanks for catching that one, @jracz18!
Hehe... fixed 2 weeks ago in testing: https://github.com/TrimarcJake/Locksmith/commit/a243393d7ea1ad9bf60ad99384e562ddfb9a273f