output args in Run-Script func

This commit is contained in:
2022-03-17 21:48:10 -04:00
parent 8a9f8c7cba
commit c552f243e2
+1 -1
View File
@@ -130,7 +130,7 @@ Function Run-Script {
Catch { LogErr $_.Exception.Message ; Exit }
Try { $ScriptBlock = [Scriptblock]::Create($Script) }
Catch { LogErr $_.Exception.Message ; Exit }
LogMsg "Executing: ${LivePSScript}.ps1"
LogMsg "Executing: ${LivePSScript}.ps1 ${Arguments}"
Try { Invoke-Command -ScriptBlock $ScriptBlock -ArgumentList $Arguments }
Catch { LogErr $_.Exception.Message ; Exit }
}