Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejs4 committed Nov 14, 2022
1 parent e483ae0 commit 0add7fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
filePath = "powershell.exe"
ArgumentList = "-noprofile -encodedCommand $encodedCommand"
Wait = $true
#ErrorAction = "Stop"
ErrorAction = "Stop"
}

if (!$force -and !(([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))) {
Expand Down

0 comments on commit 0add7fa

Please sign in to comment.