Create your first automation in just a few minutes.Try Studio Web →
by Internal Labs
2
Solution
251
Summary
Summary
PowerShell script to upload NuGet package files (*.nupkg) generated by UiPath Studio to Orchestrator via API in bulk
Overview
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"
* Reference: https://docs.uipath.com/orchestrator/reference#consuming-cloud-api
Features
Features
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
Additional Information
Additional Information
Dependencies
PowerShell 3.0 or later
Code Language
Visual Basic
Technical
Version
1.0.1Updated
March 2, 2020Works with
Studio: 21.10 - 22.10
Certification
Silver Certified
Tags
Support
UiPath Community Support