Hello Peeps | I want to copy a PowerShell command file from a network drive and run the file on remote desktop. Please help on how I might be able to achieve the same.
Thanks in advance.
Hello Peeps | I want to copy a PowerShell command file from a network drive and run the file on remote desktop. Please help on how I might be able to achieve the same.
Thanks in advance.
Hi @abhi006,
Welcome to the Community!
Here is a nice tutorial written by our Forum member. Please have a look:
Hello Pablito | I have tried the below activity and also Uipath.Script.Activities also . In both the cases the powershell is executed on the machine where the automation is running. I want the powershell command to be executed on the remote desktop we are connected to.
Then your PS script need to be properly made. I’m not sure how you are operating with powershell but it need to have proper commands to connect to remote machine like:
Enter-PSSession
Additionally PS Scripting and Remote Scripting need to be allowed on remote machine.