You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\Administrator\Desktop\check-windows-process.ps1 : Cannot process argument transformation on parameter
'ProcessName'. Cannot convert value to type System.String.
At line:1 char:58
@dbadyan Looking through the history, this check never supported multiple values. Have you had this work prior with multiple values before the last commit or is this a feature request?
No, this never worked before, but running the core command (get-process) with multiple values is valid so i expected the check to support it too. I suppose if this wasn't the original intention then it is indeed a request.
Hi, the following line returns an error when running the script with multiple values. (such as 'cmd','explorer')
sensu-plugins-windows/bin/check-windows-process.ps1
Line 30 in 17122e8
C:\Users\Administrator\Desktop\check-windows-process.ps1 : Cannot process argument transformation on parameter
'ProcessName'. Cannot convert value to type System.String.
At line:1 char:58
ption
when the [string] is removed the check works, but it's there to convert the value to a string so just removing it is not really the best solution...
The text was updated successfully, but these errors were encountered: