Parallels RAS PowerShell - Examples

This section is organized into the following sub-sections:

Basic Example demonstrates how to start a session, add major objects to a site, publish a desktop, activate a license, apply the changes, and finally end the session.

Farm Example expands the basic example and shows how to modify objects, handle multiple objects and groups, and manage default settings.

Publishing Example demonstrates how to manage published resources and use filtering options.

VDI Example demonstrates how to add a Provider, and publish a desktop from a VDI Template.

Status Info Example demonstrates how to retrieve status information of an RDS, GW, PA, Site and Provider.

RAS Agent Example demonstrates how to manage RAS Agent operations.

RDS Template Example demonstrates how to add an RDS Template and use it in an RDS Group.

PA Promote Example demonstrates how to promote a backup publishing agent (PA) when the primary PA is down.


You can find more scripts and examples from Parallels and RAS Community on GitHub.