TrimarcJake / Locksmith

A small tool built to find and fix common misconfigurations in Active Directory Certificate Services.

Home Page:https://github.com/TrimarcJake/Locksmith

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Private/Test-IsADAdmin.ps1

jracz18 opened this issue · comments

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: a243393