Answers for "powershell check admin rights"

3

powershell admin privileges

Start-Process powershell -Verb runAs
Posted by: Guest on August-03-2020
0

powershell check if user is admin

$elevated = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
Posted by: Guest on October-29-2021

Code answers related to "powershell check admin rights"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language