Update nt_system.ps1

This commit is contained in:
awesome-windows11
2021-08-03 17:25:13 +03:00
committed by GitHub
parent 9952ff0091
commit a3d07d3fa8
+2
View File
@@ -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 }