Error ERROR Validation Error System.ArgumentException: Property ‘System.String ServiceName’ is not defined for type ‘System.ServiceProcess.ServiceController’ (Parameter ‘property’)
Invoke PS.zip (2.5 KB)
Error ERROR Validation Error System.ArgumentException: Property ‘System.String ServiceName’ is not defined for type ‘System.ServiceProcess.ServiceController’ (Parameter ‘property’)
Invoke PS.zip (2.5 KB)
Can you share the Collection screenshot after opening the parameter
Regards
Sudharsan
I guess the issue is with “currentItem.ServiceName” with this command in message box. Because when i comment it invoke powershell does not give any error. So I am looking for an alternate for this “.ServiceName”, using which i can get the name of services.