Fix powershell plugin to explicitly pass -f parameter instead of empty string
cr
@@ -79,7 +79,7 @@ const (
DefaultCustomInventoryFolder = DefaultDataStorePath + "inventory/custom"
// PowerShellPluginCommandArgs is the arguments of powershell.exe to be used by the runPowerShellScript plugin
- PowerShellPluginCommandArgs = ""
+ PowerShellPluginCommandArgs = "-f"
// Exit Code for a command that exits before completion (generally due to timeout or cancel)
CommandStoppedPreemptivelyExitCode = 137 // Fatal error (128) + signal for SIGKILL (9) = 137
