Platform Configuration Tool - Powershell script execution with Parameters

Hi All,

We are planning to upgrade our Orchestrator from 2019.4 to 2020.10 version. For that to validate the windows components and other prerequisites we have planned to use the Platform Configuration Tool - the Power Shell Script from this path

But we are getting error, we have execution access for the power shell scripts.
Even we are not able to execute the powershell script.

Documents\UiPath.Platform.Configuration.Tool\Platform.Configuration.Tool.ps1 : A positional parameter cannot be found that accepts argument

Do you try to send paramenters/arguments to the script? (That is, do you type anything after .ps1)

The error indicates that the script doesn’t accept the provided argument.

@ptrobot,

Thank you for your reply.

Tried with
yes passed the parameters

  1. _ scriptfilename -readiness

  2. _ scriptfilename -readiness urlofOrchestrator

What message do you receive if you run it without any parameters?

@ptrobot,

Without parameters I am getting details of these sections in the power shell window
Name
Synopsis
Syntax
Description

The parameter -SiteName is mandatory. From the documentation:

 Platform.Configuration.Tool.ps1 -Readiness -SiteName "UiPath Orchestrator"
1 Like

@ptrobot,

Thank you that works

1 Like

You are welcome! Great to hear that it’s working.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.