product icon

How to Install PowerShell in Remote Execution

Install PowerShell on remote devices. Having PowerShell on a remote device is a prerequisite to using Remote Execution.

Remember: You can only install the latest PowerShell version. When PowerShell is already available on a target device, a new PowerShell version is installed as a new application, in a separate folder. Make sure the target device has sufficient disk space (about 400MB) for the installation.
Important: To use this feature, the user must be authenticated with zero trust authentication, which serves the security of the session. Authentication is required only once when you run a Remote Execution step.
  1. On the Devices > Remote Execution page, select Create new job.
    Can't find the page in the left menu? That's probably because the Devices menu is collapsed. Click the arrow to expand it.
  2. On the Create job page, choose the platform where you want to run automation steps.
  3. Add the PowerShell installation step to the list on the left.
  4. Click Next.
  5. From the list of Devices define the devices or a group of devices that will receive the script.
    You can organize your devices by selecting a grouping option from the top of the list.
  6. Enter a friendly name that you can easily remember later on.
  7. Click Next.
  8. Click Run.
    Note: A preset timeout pertains to both the job and the step.

    A timeout for every step is set to two hours, meaning that GoTo waits two hours for the script to finish on the remote computer. When the script finishes, GoTo starts the next step and waits another two hours for that step to finish. If a step does not finish on a remote computer in two hours, then it times out and the whole job fails.

Article last updated: 21 July, 2022