Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sample Scripts

Sample PowerShell scripts are available that demonstrate the connector pattern and illustrate how provider-specific settings can be mapped into the RAS. These should only be treated as samples. These samples are available via https://github.com/Parallels/RAS-PowerShell/tree/master/Custom-Provider-Framework

Script
Purpose
Expected settings
Notes

Paralles-RAS-CPF-Basic.ps1

Reference implementation with dummy data.

token

Best starting point for understanding the protocol shape and method dispatch.

Parallels-RAS-CPF-Proxmox-basic.ps1

Example integration for Proxmox VE.

host, username, token_name, token_secret

Implements connectivity checks, guest list/get, and control mappings against the Proxmox API.

Parallels-RAS-CPF-Proxmox-advanced.ps1

Example integration for Proxmox VE based on package 2.

host, username, token_name, token_secret

Includes everything of the basic script and adds working with templates.