Connect HomeMarketplaceComponentsNuGet package uploading script

NuGet package uploading script

Solution

Solution

Updated: October 30th, 2020

Published: January 17th, 2020

Downloads: 96

Language compatibility: Visual Basic

Community Support

NuGet package uploading script

Solution

Summary: 

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

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"

Details

Benefits

This PS script would help you with:

Faster bulk upload of NuGet Packages
Smooth migration from the legacy repository type to the latest (e.g., Amazon S3)
https://docs.uipath.com/orchestrator/docs/webconfig#section-deployment

Compatibility

UiPath Orchestrator v2018.4 or later

Dependencies

PowerShell 3.0 or later

Licensing

By clicking download you agree to the following license.