Getting following error while trying to run the process (Process attached). This was working fine when I created it, after reopening it is giving error. Anyone faced such issue before?

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)

HI @Harsha_Tiwari

Can you share the Collection screenshot after opening the parameter

Regards
Sudharsan

Yes! attached here.

@Harsha_Tiwari

Try these steps and check once

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.