Update nt_system.ps1
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# Download file: https://windows11.now.sh/nt_system.ps1
|
||||
|
||||
# получение прав админа
|
||||
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user