Skip to main content

WorkSpace PowerShell cmdlets

The Atria WorkSpace service includes a REST API and a set of Atria.Tools cmdlets for common automation tasks.

This section documents the PowerShell cmdlets. For operations or fields that are not exposed by a cmdlet, use the Atria REST API Reference.

Your own Atria instance also exposes its Swagger UI at:

https://{hostname}/api/

note

Call Connect-AtriaApi before using these commands. Use IDs returned by the Get-* commands; WorkSpace item, list, role, customer, and user IDs are different identifiers and are not interchangeable.

Connect to the API

Connecting validates the bearer token against /api/v2/me and stores the API base URI and identity context for later cmdlets.

Work with item types

Item types are retrieved through the API. Creating or changing an item type is not exposed by these cmdlets. Do not edit the Atria database directly; contact Atria Support or Consulting when a deployment requires a new item type.

Shared items

Customer-owned items

Lists and scopes

Icons

Roles and assignments