Export-RDMOptionFile
Synopsis
Export a RemoteDesktopManager configuration file
Syntax
__AllParameterSets
Export-RDMOptionFile -Path <string> [-ClearApplicationLockInformation] [-CloudCredentials]
[-Datasources <PSDataSource[]>] [-ForceAlwaysRetrieveNewRegistration] [-DataSourceCredentials]
[-ProxySettings] [-RegistrationEmail] [-RegistrationKey] [-RegistrationName]
[-SavedInstallationPaths] [-SavedTemplates] [-ForcePromptAnswer <DialogResult[]>]
[<CommonParameters>]Description
Export a RemoteDesktopManager configuration file
Examples
Example 1
PS C:\> Export-RDMOptionFile -Path C:\MyPath\Filename.cfgRetrieve the current configuration and export it to a cfg file at C:\MyPath\Filename.cfg
Example 2
Retrieve the current configuration with only the workspaces whose name beginning with Test and export it to a cfg file at C:\MyPath\Filename.cfg
Example 3
Retrieve the current configuration file including the proxy settings and the registration information and without workspaces and export it to a cfg file at C:\MyPath\Filename.cfg
Parameters
-ClearApplicationLockInformation
Clear the application lock information in the configuration file.
-CloudCredentials
Include the Devolutions Account credentials in the configuration file.
-DataSourceCredentials
Include your workspace credentials.
-Datasources
PSDataSource objects, must be retrieved from Get-RDMCurrentDataSource or Get-RDMDatasource, or created via New-RDMDataSource.
-ForceAlwaysRetrieveNewRegistration
Include the force always new registration in the configuration file.
-ForcePromptAnswer
Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:
Yes: Accept the prompt. Cover the OK and Automatic value.
No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.
Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.
-Path
Path where the file will be the saved. Must be different from the current configuaration file and end with .cfg
-ProxySettings
Includes your proxy settings.
-RegistrationEmail
Include the registration email in the configuration file.
-RegistrationKey
Registration keys are now stored in the workspace. Avoid using this parameter. Include the registration key in the configuration file.
-RegistrationName
Include the registration name in the configuration file.
-SavedInstallationPaths
Preserve your installation paths configured for the external application.
-SavedTemplates
Include the local templates in the configuration file.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
System.String
File path
Notes
For more information, type "Get-Help Export-RDMOptionFile -detailed". For technical information, type "Get-Help Export-RDMOptionFile -full".
Last updated
Was this helpful?