Previous page

Next page

Locate page in Contents

Exporting and Importing Farm Settings via Command Line

A PowerShell interface is included in the Parallels Remote Application Server installation allowing you to export and import farm settings. One of the uses of this interface is running automated tests. Specific configurations can be created, exported, and then imported for specific test scenarios. You can also use it with Windows task scheduler for regular backups of farm settings.

Installing the Interface

First, you need to obtain the RAS_PS_Interface.zip file from the Parallels website and then do the following:

  1. Extract the RAS_PS_Interface.zip archive to your local hard drive.
  2. Start the 64-bit version of PowerShell.
  3. Change directory to where you extracted the archive.
  4. Run the following command:

    Import-Module .\PSInterface.dll

Using the Interface

To export farm settings, execute the following command:

Get-Settings

To get help on how to use Get-Settings , run the following command:

help Get-Settings

To import farm settings:

Set-Settings

To get help:

help Set-Settings