MarketplaceListingsSolutionNuGet package uploading script

NuGet package uploading script

Bronze Certified

Solution

1 reviews

96

NuGet package uploading script

Bronze Certified

Solution

1 reviews

96


Summary

PowerShell script to upload NuGet package files (*.nupkg) generated by UiPath Studio to Orchestrator via API in bulk

Overview

Parameters
- uriOrch: The URL of Orchestrator
- tenantName: The tenant name of Orchestrator. The default value is "default"
- adminName: Orchestrator admin user name who has a Role of Create Package
- adminPasswd: The password of the corresponding Orchestrator admin user
- pkgDir: The directory of NuGet packages that is to be uploaded to Orchestrator. All sub-directories are also processed. The default value is "$Env:ProgramData\UiPath\Packages"
- windowsAuth: Set $true if loggig-in the on-premises Orchestrator with Windows Authentication

Examples
# On-Premises Orchestrator
.\orchestrator-upload-package -uriOrch "https://your-orchestrator-url" -adminName "pkg-admin" -adminPasswd "password" -pkgDir "C:\TEMP"

# Cloud Platform Orchestrator
.\orchestrator-upload-package -uriOrch "https://platform.uipath.com" -userKey "abcde_123456789012345678901234567890123456789" -accountLogicalName "MyAccount" -tenantLogicalName "MyTenant" -clientId "12345678901234567890123456789012" -pkgDir "C:\TEMP"

Benefits


Published: Mar 2, 2020 | Updated: Oct 30, 2020

Trusted Source


License

By clicking download you agree to the following license.


Code Language

Visual Basic


Tags


Compatibility

UiPath Orchestrator v2018.4 or later


Dependencies

PowerShell 3.0 or later