update variable names
This commit is contained in:
@@ -169,8 +169,8 @@ switch ($PSCmdlet.ParameterSetName)
|
||||
|
||||
If ( $Halt -eq $false )
|
||||
{
|
||||
Log "Executing: ${Script} ${Arguments}" -Name $LogName
|
||||
Try { Start-Process "${Script}" -ArgumentList "{$Arguments}" -Wait }
|
||||
Log "Executing: ${Path} ${Arguments}" -Name $LogName
|
||||
Try { Start-Process "${Path}" -ArgumentList "{$Arguments}" -Wait }
|
||||
Catch { $_.Exception.Message | Log -Name $LogName }
|
||||
}
|
||||
Else { Log "Dependent apps are currently in use and are preventing the specified script from running" -Name $LogName }
|
||||
|
||||
Reference in New Issue
Block a user