update variable names
This commit is contained in:
@@ -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 }
|
||||||
|
|||||||
Reference in New Issue
Block a user