diff --git a/bootstrap-salt.ps1 b/bootstrap-salt.ps1 index ff857f8..0282121 100644 --- a/bootstrap-salt.ps1 +++ b/bootstrap-salt.ps1 @@ -138,6 +138,7 @@ If (!(Get-IsAdministrator)) { $parameters = "$parameters -{0} '{1}'" -f $boundParam.Key, $boundParam.Value } $newProcess.Arguments = $myInvocation.MyCommand.Definition, $parameters + # Specify the current working directory $newProcess.WorkingDirectory = "$script_path"