UiPathOrch

1.4.2

Open-source PSDrives and cmdlets for managing UiPath Orchestrator. Not an official abbreviation of, or part of, the Orchestrator product. 💡 First time? Run: Get-OrchHelp

Minimum PowerShell version

7.4.2

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name UiPathOrch -RequiredVersion 1.4.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name UiPathOrch -Version 1.4.2

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Copyright 2023-2026 UiPath

Package Details

Author(s)

  • Yoshifumi Tsuda

Tags

UiPath Orchestrator RPA Automation PSDrive PSProvider Cloud OnPremises

Cmdlets

Import-OrchConfig New-OrchPSDrive Invoke-OrchApi Switch-OrchCurrentUser Get-OrchPSDrive Get-OrchProductVersion Get-OrchLibrary Get-OrchLibraryVersion Remove-OrchLibrary Import-OrchLibrary Export-OrchLibrary Copy-OrchLibrary Get-OrchPackage Copy-OrchPackage Get-OrchPackageVersion Remove-OrchPackage Import-OrchPackage Export-OrchPackage Get-OrchJob Start-OrchJob Stop-OrchJob Restart-OrchJob Resume-OrchJob Open-OrchJob Get-OrchLog Get-OrchAuditLog Get-OrchJobMedia Export-OrchJobMedia Remove-OrchJobMedia Get-OrchProcess Get-OrchProcessDetail New-OrchProcess Update-OrchProcess Copy-OrchProcess Remove-OrchProcess Edit-OrchProcess Update-OrchProcessVersion Reset-OrchProcessVersion Get-OrchProcessRequirement Get-OrchRobot Get-OrchUser Get-OrchUserDetail Get-OrchUserPrivilege Add-OrchUser Update-OrchUser Copy-OrchUser Remove-OrchUser Remove-OrchRoleFromUser Get-OrchCurrentUser Update-OrchCurrentUserURPassword Get-OrchLicenseNamedUser Get-OrchLicenseRuntime Enable-OrchLicenseRuntime Disable-OrchLicenseRuntime Get-PmAuditLog Get-PmAuthenticationSetting Get-PmLicense Get-PmLicenseAllocation Get-PmLicenseInventory Get-PmLicenseContract Get-PmLicensedUser Get-PmLicensedGroup Remove-PmLicensedGroup Add-PmLicenseToPmLicensedGroup Remove-PmAllocationFromPmLicensedGroup Remove-PmLicenseFromPmLicensedGroup Get-OrchClassicRobot Get-OrchClassicEnvironment Get-OrchUserSession Get-OrchMachineSession Get-OrchUnattendedSession Clear-OrchInactiveSession Get-OrchTask Get-OrchTaskAcrossFolder Set-OrchTask Remove-OrchTask Enable-OrchMaintenanceMode Disable-OrchMaintenanceMode Get-OrchJobStats Get-OrchLicenseStats Get-OrchRole Set-OrchRole Remove-OrchRole Copy-OrchRole Get-OrchCalendar Remove-OrchCalendar Copy-OrchCalendar Get-OrchCalendarDate Add-OrchCalendarDate Remove-OrchCalendarDate Get-OrchPersonalWorkspace Remove-OrchPersonalWorkspace Get-OrchFolderUsage Get-OrchFolderUser Add-OrchFolderUser Copy-OrchFolderUser Move-OrchFolderUser Remove-OrchFolderUser Add-OrchRoleToFolderUser Remove-OrchRoleFromFolderUser Get-OrchMachine Update-OrchMachine New-OrchMachine Remove-OrchMachine Copy-OrchMachine Get-OrchMachineClientSecretId Add-OrchMachineClientSecret Remove-OrchMachineClientSecret Get-OrchFolderMachine Add-OrchFolderMachine Copy-OrchFolderMachine Remove-OrchFolderMachine Enable-OrchFolderMachineInherit Disable-OrchFolderMachineInherit Get-OrchFolderMachineAccountMapping Enable-OrchFolderMachineAccountMapping Disable-OrchFolderMachineAccountMapping Get-OrchAsset Set-OrchAsset Copy-OrchAsset Remove-OrchAsset Set-OrchCredentialAsset Get-OrchCredentialAsset Set-OrchSecretAsset Get-OrchSecretAsset Remove-OrchAssetUserValue Get-OrchCredentialStore Copy-OrchCredentialStore Update-OrchCredentialStore Remove-OrchCredentialStore Get-OrchAssetLink Add-OrchAssetLink Remove-OrchAssetLink Get-OrchBucketLink Add-OrchBucketLink Remove-OrchBucketLink Get-OrchQueueLink Add-OrchQueueLink Remove-OrchQueueLink Get-OrchTrigger Get-OrchTriggerDetail New-OrchTrigger Update-OrchTrigger Remove-OrchTrigger Copy-OrchTrigger Enable-OrchTrigger Disable-OrchTrigger Test-OrchTrigger Get-OrchApiTrigger Remove-OrchApiTrigger Copy-OrchApiTrigger Enable-OrchApiTrigger Disable-OrchApiTrigger Get-OrchEventTrigger Remove-OrchEventTrigger Enable-OrchEventTrigger Disable-OrchEventTrigger Get-OrchQueue New-OrchQueue Update-OrchQueue Copy-OrchQueue Remove-OrchQueue Get-OrchQueueItem Import-OrchQueueItem Redo-OrchQueueItem Copy-OrchQueueItem Remove-OrchQueueItem Get-OrchTestSet Copy-OrchTestSet Remove-OrchTestSet Start-OrchTestSet Get-OrchTestCase Get-OrchTestCaseExecution Get-OrchTestCaseAssertion Remove-OrchTestCase Get-OrchTestSetExecution Stop-OrchTestSetExecution Get-OrchTestSetSchedule Copy-OrchTestSetSchedule Remove-OrchTestSetSchedule Enable-OrchTestSetSchedule Disable-OrchTestSetSchedule Get-OrchTestDataQueue Copy-OrchTestDataQueue Remove-OrchTestDataQueue Get-OrchTestDataQueueItem Reset-OrchTestDataQueueItem Get-OrchAlert Get-OrchBucket New-OrchBucket Copy-OrchBucket Update-OrchBucket Remove-OrchBucket Get-OrchBucketItem Export-OrchBucketItem Import-OrchBucketItem Remove-OrchBucketItem Get-OrchWebhook Copy-OrchWebhook Update-OrchWebhook Remove-OrchWebhook Enable-OrchWebhook Disable-OrchWebhook Get-OrchWebhookEventType Test-OrchWebhook Get-OrchSetting Set-OrchSetting Get-OrchExecutionSetting Get-OrchWebSetting Get-OrchAuthenticationSetting Get-OrchActivitySetting Get-OrchConnectionString Get-OrchLicense Get-OrchUpdateSetting Get-OrchActionCatalog Copy-OrchActionCatalog Remove-OrchActionCatalog Search-OrchDirectory Search-PmDirectory Resolve-PmDirectoryNameBulk Get-PmUser Update-PmUser Remove-PmUser New-PmUser Copy-PmUser Get-PmRobotAccount Set-PmRobotAccount Copy-PmRobotAccount Remove-PmRobotAccount Get-PmGroup New-PmGroup Copy-PmGroup Remove-PmGroup Get-PmGroupMember Add-PmGroupMember Move-PmGroupMember Remove-PmGroupMember Get-PmExternalApiResource Get-PmExternalApplication Copy-PmExternalApplication Remove-PmExternalApplication Get-PmAccessAllowedMember Get-DuRole Get-DuDocumentType Get-DuClassifier Get-DuExtractor Get-DuUser Add-DuUser Remove-DuRoleFromDuUser Get-TmConfiguration Get-TmProjectSetting Get-TmProjectPermission Get-TmServerInfo Get-TmRequirement Remove-TmRequirement Get-TmTestCase Remove-TmTestCase Get-TmTestSet Remove-TmTestSet Get-TmTestExecution Get-OrchHelp Clear-OrchCache Get-OrchConfigPath Edit-OrchConfig Set-OrchLocation Get-OrchLogLocation Open-OrchLogLocation New-OrchUserMappingCsv Test-OrchUserMappingCsv

Functions

Enable-OrchUserAttended Disable-OrchUserAttended Enable-OrchPersonalWorkspace Disable-OrchPersonalWorkspace Find-OrchFolderNoUserAssigned Get-OrchJobVideo Format-OrchQueueItem Format-OrchTestDataQueueItem

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

Patch release. Two pipeline-input bug fixes in helper functions, three raw `_dic*` caches retired in favor of small focused cache classes, and the cmdlet-redesign-plan-p3 doc closes out (raw `_dic*` accumulator pattern eliminated except for `_dicFolders` itself).

## Bug Fixes
- **`Enable-/Disable-OrchPersonalWorkspace` and `Enable-/Disable-OrchUserAttended` lost all but the last input when piped to.** These functions declared `[Parameter(ValueFromPipelineByPropertyName)]` but had no explicit `process` block, so `Get-OrchUser | Disable-OrchUserAttended` silently disabled only the last user. Direct invocation (`-UserName a,b,c`) was unaffected and remains unchanged.
- **`Logging.Enabled` now defaults to `true` when the `Logging` section is present but `Enabled` is unspecified.** Previously a config with only `Logging.Level` set produced no log output at all — the log folder was created but stayed empty, with no signal why; a frequent support trap when diagnosing auth issues. An explicit `Logging.Enabled: false` is still respected; absent `Logging` section still means no logging.
- **Auth-diagnostics / HTTP log was lost when a sign-in hung or failed (e.g. PKCE `#219`).** `AsyncLogWriter`'s time-based flush was only re-evaluated when the next entry was dequeued, so a lone buffered entry with no follow-up (the pre-auth diagnostics block written just before a PKCE listener that then blocks on a callback that never comes) was never written — log folder created, file empty. Together with the `Logging.Enabled` fix this closes the "log folder exists but is empty when diagnosing an auth failure" trap. The interval flush is now a real deadline, so a single buffered entry is persisted within `flushIntervalMs` even while the producer is idle or blocked; batch flush and graceful-dispose drain are unchanged. Restores log capture during a failed sign-in; does not change authentication behaviour itself.
- **PM records could carry another drive's per-drive `Path`** — when results were retained (a variable, or queried across same-org drives) every element showed the *last* drive's `Path`. The 1.4.0 fix had attached `Path` via a per-`WriteObject` PSObject `NoteProperty`, which didn't hold (PowerShell binds PSObject members to the shared cached base object). `Path` is a plain DTO property again, Shallow-cloned per emit before it's stamped — independent per drive, the rest still shared with the singleton, and safe under the now-parallel `Get-Pm*`.
- **Cloud sign-in failed with `#219` "user has not accepted the invitation" for Entra-ID-federated organizations.** The Cloud Identity URL was auto-derived org-scoped (`https://cloud.uipath.com/{org}/identity_`); that authorize endpoint resolves a federated user into an org membership/invitation check that returns errorCode 219 (local UiPath accounts unaffected, which is why it shipped unnoticed). Introduced in v0.9.15.5 (commit d57c287); pinned by a customer release bisection (v0.9.15.4 OK → v0.9.15.5 NG). Cloud now auto-derives host-level `https://cloud.uipath.com/identity_` (same form as Automation Suite), verified end-to-end. An explicit `IdentityUrl` still overrides for non-default Identity Servers.

## Changed
- **PM audit log cache (`_dicPmAuditLogs`) migrated to `IncrementalCachePerTenant`.** Uses the entity as its own key, so the previous `HashSet<PmAuditLog>` structural-dedup semantic is preserved while the cache joins the standard `Get-OrchAuditLog`-style lifecycle (`Fetch` / `GetCache` / `ClearCache` / per-tenant exception cache).
- **PM bulk-resolve cache (`_dicPmBulkResolveByName`) migrated to a concrete `PmGroupMembersCache`.** Static storage keyed by `(partitionGlobalId, kind, name)`, so all drive instances pointing at the same org share one cache — bulk resolution (e.g. during `Add-OrchFolderUser`) of the same name across multiple drives no longer re-pays the API call. Negative caching preserved: the API returns `null` for unresolved names and that null is kept so the next lookup is a cache hit.
- **Robot log cache (`_dicRobotLogs`) migrated to a concrete `RobotLogsCache`.** Per-folder `ConcurrentBag<Log>` accumulator (the API returns `Log.Id == 0` so per-id dedup isn't possible), `IFolderCacheClearable`-registered, so `Clear-OrchCache -Path <folder>` now flushes the right slice without manual null-out.

## Internal
- `Find-OrchFolderNoUserAssigned` now emits a `Write-Verbose` line for the folders it silently skips, so `-Verbose` reveals which folders failed to resolve.
- ScriptAnalyzer Warnings reduced from 23 → 11 in `Staging/`; the remaining 11 are all intentional `Write-Host` in `Staging/Examples/*.ps1` sample scripts.
- `design/cmdlet-redesign-plan-p3.md` Group F closes out (0 bespoke caches remaining outside of `_dicFolders` itself, which carries its own multi-phase fetch + lock-and-publish design from 1.4.1).

FileList

Version History

Version Downloads Last updated
1.5.2 0 5/21/2026
1.5.1 0 5/21/2026
1.5.0 0 5/21/2026
1.4.3 0 5/20/2026
1.4.2 (current version) 0 5/19/2026
1.4.1 6 5/15/2026
1.4.0 4 5/13/2026
1.3.0 5 5/13/2026
1.2.2 10 5/10/2026
1.2.1 5 5/8/2026
1.2.0 7 5/7/2026
1.1.0 7 5/6/2026
1.0.1 11 5/5/2026
1.0.0 7 5/3/2026
0.9.18.0 9 4/28/2026
0.9.17.0 18 4/24/2026
0.9.16.6 7 4/24/2026
0.9.16.5 5 4/23/2026
0.9.16.4 6 4/22/2026
0.9.16.3 11 4/21/2026
0.9.16.2 44 3/20/2026
0.9.16.1 7 3/18/2026
0.9.16.0 24 3/8/2026
0.9.15.5 19 3/4/2026
0.9.15.4 74 1/13/2026
0.9.15.3 10 1/8/2026
0.9.15.2 32 12/5/2025
0.9.15.1 13 11/30/2025
0.9.14.19 12 11/20/2025
0.9.14.18 7 11/17/2025
0.9.14.17 50 10/21/2025
0.9.14.16 12 10/9/2025
0.9.14.15 15 9/27/2025
0.9.14.14 10 9/22/2025
0.9.14.13 13 9/9/2025
0.9.14.12 13 9/4/2025
0.9.14.11 27 8/21/2025
0.9.14.10 48 7/30/2025
0.9.14.9 10 7/24/2025
0.9.14.8 8 7/23/2025
0.9.14.7 19 7/17/2025
0.9.14.6 12 7/10/2025
0.9.14.5 9 7/10/2025
0.9.14.4 16 7/5/2025
0.9.14.3 15 7/3/2025
0.9.14.2 11 7/1/2025
0.9.14.1 8 6/30/2025
0.9.14.0 7 6/28/2025
0.9.13.6 8 6/27/2025
0.9.13.5 6 6/27/2025
0.9.13.4 8 6/26/2025
0.9.13.3 8 6/26/2025
0.9.13.2 40 6/21/2025
0.9.13.1 6 6/21/2025
0.9.13.0 7 6/20/2025
0.9.12.12 57 6/18/2025
0.9.12.11 12 6/14/2025
0.9.12.10 10 6/12/2025
0.9.12.9 14 6/6/2025
0.9.12.8 7 6/6/2025
0.9.12.7 19 6/2/2025
0.9.12.6 25 5/20/2025
0.9.12.5 13 5/18/2025
0.9.12.4 5 5/17/2025
0.9.12.3 6 5/16/2025
0.9.12.2 25 5/2/2025
0.9.12.1 14 4/25/2025
0.9.12.0 30 4/14/2025
0.9.11.4 6 4/12/2025
0.9.11.3 10 4/11/2025
0.9.11.2 14 4/5/2025
0.9.11.1 10 4/1/2025
0.9.11.0 9 3/31/2025
0.9.10.9 11 3/27/2025
0.9.10.8 7 3/26/2025
0.9.10.7 22 3/18/2025
0.9.10.6 7 3/14/2025
0.9.10.5 10 3/12/2025
0.9.10.4 14 3/8/2025
0.9.10.3 45 2/26/2025
0.9.10.2 16 2/25/2025
0.9.10.1 17 2/15/2025
0.9.10.0 9 2/14/2025
0.9.9.7 10 2/12/2025
0.9.9.6 7 2/11/2025
0.9.9.5 11 2/7/2025
0.9.9.4 19 2/1/2025
0.9.9.3 15 1/31/2025
0.9.9.2 12 1/27/2025
0.9.9.1 19 1/15/2025
0.9.9.0 15 1/13/2025
0.9.8.24 6 1/13/2025
0.9.8.23 14 1/3/2025
0.9.8.22 16 12/16/2024
0.9.8.21 13 12/12/2024
0.9.8.20 46 12/4/2024
0.9.8.19 15 11/30/2024
0.9.8.18 19 11/27/2024
0.9.8.17 14 11/26/2024
0.9.8.16 9 11/25/2024
0.9.8.15 7 11/22/2024
0.9.8.14 7 11/21/2024
0.9.8.13 10 11/20/2024
0.9.8.12 11 11/18/2024
0.9.8.11 16 11/12/2024
0.9.8.10 20 11/7/2024
0.9.8.9 14 11/6/2024
0.9.8.8 9 11/5/2024
0.9.8.7 9 11/4/2024
0.9.8.6 11 11/3/2024
0.9.8.5 8 11/1/2024
0.9.8.4 17 10/30/2024
0.9.8.3 11 10/28/2024
0.9.8.2 18 10/27/2024
0.9.8.1 7 10/25/2024
0.9.8.0 6 10/25/2024
0.9.7.18 7 10/25/2024
0.9.7.17 10 10/23/2024
0.9.7.16 27 10/21/2024
0.9.7.15 17 10/21/2024
0.9.7.14 8 10/17/2024
0.9.7.13 13 10/15/2024
0.9.7.12 7 10/15/2024
0.9.7.11 8 10/11/2024
0.9.7.10 14 10/10/2024
0.9.7.9 10 10/7/2024
0.9.7.8 15 9/30/2024
0.9.7.7 10 9/29/2024
0.9.7.6 6 9/28/2024
0.9.7.5 8 9/27/2024
0.9.7.4 18 9/24/2024
0.9.7.3 11 9/21/2024
0.9.7.2 11 9/18/2024
0.9.7.1 10 9/17/2024
0.9.7.0 11 9/16/2024
0.9.6.23 13 9/11/2024
0.9.6.22 10 9/9/2024
0.9.6.21 47 9/8/2024
0.9.6.20 11 9/7/2024
0.9.6.19 9 9/6/2024
0.9.6.18 8 9/6/2024
0.9.6.17 16 9/4/2024
0.9.6.16 16 9/4/2024
0.9.6.15 13 9/3/2024
0.9.6.14 23 9/2/2024
0.9.6.13 13 9/1/2024
0.9.6.12 11 8/30/2024
0.9.6.11 9 8/27/2024
0.9.6.10 18 8/25/2024
0.9.6.9 5 8/25/2024
0.9.6.8 69 8/21/2024
0.9.6.7 53 8/19/2024
0.9.6.6 31 8/18/2024
0.9.6.5 43 8/17/2024
0.9.6.4 19 8/16/2024
0.9.6.3 8 8/16/2024
0.9.6.2 32 8/13/2024
0.9.6.1 134 8/8/2024
0.9.6.0 33 8/7/2024
0.9.5.16 8 8/6/2024
0.9.5.15 5 8/6/2024
0.9.5.14 6 8/5/2024
0.9.5.13 5 8/4/2024
0.9.5.12 7 8/1/2024
0.9.5.11 7 7/31/2024
0.9.5.10 15 7/26/2024
0.9.5.9 9 7/25/2024
0.9.5.8 6 7/25/2024
0.9.5.7 7 7/25/2024
0.9.5.6 9 7/21/2024
0.9.5.5 5 7/18/2024
0.9.5.4 8 7/17/2024
0.9.5.3 16 7/11/2024
0.9.5.2 9 7/10/2024
0.9.5.1 8 7/9/2024
0.9.5.0 17 7/6/2024
0.9.4.0 23 6/30/2024
0.9.3.1 6 6/28/2024
0.9.3.0 9 6/26/2024
0.9.2.2 10 6/24/2024
0.9.2.1 7 6/23/2024
0.9.2.0 9 6/20/2024
0.9.1.1 5 6/19/2024
0.9.1.0 8 6/16/2024
0.9.0.1 5 6/13/2024
0.9.0.0 12 6/4/2024
0.8.11.1 11 5/27/2024
0.8.11.0 8 5/26/2024
0.8.10.13 5 5/24/2024
0.8.10.12 6 5/23/2024
0.8.10.11 7 5/21/2024
0.8.10.10 8 5/19/2024
0.8.10.9 23 5/13/2024
0.8.10.8 7 5/10/2024
0.8.10.7 7 5/9/2024
0.8.10.6 8 5/7/2024
0.8.10.5 7 5/6/2024
0.8.10.4 6 5/6/2024
0.8.10.3 5 5/5/2024
0.8.10.2 6 5/3/2024
0.8.10.1 5 5/2/2024
0.8.10.0 6 4/30/2024
0.8.9.8 7 4/19/2024
0.8.9.7 7 4/18/2024
0.8.9.6 6 4/16/2024
0.8.9.5 6 4/15/2024
0.8.9.4 5 4/15/2024
0.8.9.3 6 4/13/2024
0.8.9.2 7 4/12/2024
0.8.9.1 9 4/9/2024
0.8.9.0 7 4/7/2024
0.8.8.3 6 4/2/2024
0.8.8.2 5 4/2/2024
0.8.8.1 6 4/2/2024
0.8.8.0 7 3/29/2024
0.8.7.5 5 3/28/2024
0.8.7.4 6 3/27/2024
0.8.7.3 8 3/24/2024
0.8.7.2 5 3/23/2024
0.8.7.1 8 3/20/2024
0.8.7.0 13 3/18/2024
0.8.6.8 7 3/15/2024
0.8.6.7 9 3/13/2024
0.8.6.6 8 3/12/2024
0.8.6.5 7 3/12/2024
0.8.6.4 8 3/11/2024
0.8.6.3 7 3/10/2024
0.8.6.2 7 3/8/2024
0.8.6.1 7 3/8/2024
0.8.6.0 9 3/4/2024
0.8.5.5 7 3/1/2024
0.8.5.4 8 2/27/2024
0.8.5.3 7 2/27/2024
0.8.5.2 9 2/27/2024
0.8.5.1 9 2/26/2024
0.8.5.0 11 2/25/2024
0.8.4.0 10 2/23/2024
0.8.3.7 10 2/19/2024
0.8.3.6 8 2/18/2024
0.8.3.5 8 2/16/2024
0.8.3.4 12 2/16/2024
0.8.3.3 12 2/15/2024
0.8.3.2 12 2/12/2024
0.8.3.1 8 2/12/2024
0.8.3.0 9 2/11/2024
0.8.2.0 12 2/3/2024
0.8.1.5 10 1/31/2024
0.8.1.4 8 1/31/2024
0.8.1.3 11 1/26/2024
0.8.1.2 13 1/24/2024
0.8.1.1 13 1/17/2024
0.8.1.0 11 1/15/2024
0.8.0.10 18 12/19/2023
0.8.0.9 35 11/16/2023
0.8.0.8 9 11/13/2023
0.8.0.7 12 11/12/2023
0.8.0.6 9 11/6/2023
0.8.0.5 14 11/6/2023
0.8.0.4 8 11/6/2023
0.8.0.3 9 11/5/2023
0.8.0.2 9 11/3/2023
0.8.0.1 11 11/3/2023
0.8.0.0 11 11/3/2023
Show more