I would like to ask for help with invoke the Power Shell Script. This script should connect to the Web page to get service request Item status.
The activity is set like on the picture below, and formulation the connection to server is this: $svc = New-WebServiceProxy -Uri $ServiceURLUpdate
Unfortunatelly I am still getting the error message: Invoke Power Shell: The term ‘New-WebServiceProxy’ is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Hello, yes I know this activity, and I am using it in one process, where it is working fine. Unfortunatelly same setting is not working in the different process, where I am still getting the error message mentionet above. I dont know if this could be related to the package versions? I did some analysis and tryed alredy to run it with higher and also lower versions, but still no result.
In the process where its working the UiPath.System.Activities version is 21.10.2 and the System.Management.Automation version is 6.1.7601.17515.
In the process where its not working the UiPath.System.Acitivities version is also 21.10.2 but the UiPath.System.Activities is 7.1.0 and I am not able to change, it. So I am not sure if this could be the reason…