We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 968274c commit df27b56Copy full SHA for df27b56
1 file changed
Scripts/3_Deploy.ps1
@@ -1,4 +1,4 @@
1
-# Verify Running as Admin
+# Verify Running as Admin
2
$isAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")
3
If (-not $isAdmin) {
4
Write-Host "-- Restarting as Administrator" -ForegroundColor Cyan ; Start-Sleep -Seconds 1
0 commit comments