Parallels RAS PowerShell - Basic Example

#Establish a connection with Parallels RAS (Replace Administrator with your RAS root account). New-RASSession Administrator #Add a RAS Secure Client Gateway (replace 'server.company.dom' with a valid FQDN, computer name, or IP address). New-GW -Name "server.company.dom" #Add an RD Session Host server (replace 'server.company.dom' with a valid FQDN, computer name, or IP address). New-RDS -Name "server.company.dom" #Add a published desktop. New-PubRDSDesktop -Name "PubDesktop" #Activate Parallels RAS as a trial (you will have to provide a valid Parallels My Account email and password). Invoke-LicenseActivate #Apply all settings. This cmdlet performs the same action as the Apply button in the RAS console. Invoke-Apply #End the current RAS session. Remove-RASSession