Overview for elevated

Elevated Shell?

Somtime you have to verify if your PowerShell session runs with elevated permissions. With this short code you can check it and inform the user or stop the script if elevated permissions are required. If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetC…

Read more

Written by Arne Tiedemann on Friday June 1, 2018

Image: 2018-06/tit-powershell-sw.png