Powershell


Snippets

Admin check, just run Test-IsAdmin to call the function and output true or false. I use this for ...


Windows specs

$admin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent(...


Search Results Clear Search

Back to top