update variable names

This commit is contained in:
2020-09-23 15:48:55 -04:00
parent 27b0dd46fe
commit b5bf62ed75
+2 -2
View File
@@ -169,8 +169,8 @@ switch ($PSCmdlet.ParameterSetName)
If ( $Halt -eq $false ) If ( $Halt -eq $false )
{ {
Log "Executing: ${Script} ${Arguments}" -Name $LogName Log "Executing: ${Path} ${Arguments}" -Name $LogName
Try { Start-Process "${Script}" -ArgumentList "{$Arguments}" -Wait } Try { Start-Process "${Path}" -ArgumentList "{$Arguments}" -Wait }
Catch { $_.Exception.Message | Log -Name $LogName } Catch { $_.Exception.Message | Log -Name $LogName }
} }
Else { Log "Dependent apps are currently in use and are preventing the specified script from running" -Name $LogName } Else { Log "Dependent apps are currently in use and are preventing the specified script from running" -Name $LogName }