Created
February 10, 2020 21:16
-
-
Save haxxinen/d316d9f2958b7e0c32f23e42a40b0714 to your computer and use it in GitHub Desktop.
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
([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment