> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell/es/powershell-commands/export-rdmoptionfile.md).

# Export-RDMOptionFile

### Sinopsis

Exportar un fichero de configuración de RemoteDesktopManager

### Sintaxis

#### \_\_AllParameterSets

```
Export-RDMOptionFile -Path <string> [-ClearApplicationLockInformation] [-CloudCredentials]
 [-Datasources <PSDataSource[]>] [-ForceAlwaysRetrieveNewRegistration] [-DataSourceCredentials]
 [-ProxySettings] [-RegistrationEmail] [-RegistrationKey] [-RegistrationName]
 [-SavedInstallationPaths] [-SavedTemplates] [-ForcePromptAnswer <DialogResult[]>]
 [<CommonParameters>]
```

### Descripción

Exportar un fichero de configuración de RemoteDesktopManager

### Ejemplos

#### Ejemplo 1

```powershell
PS C:\> Export-RDMOptionFile -Path C:\MyPath\Filename.cfg
```

Recuperar la configuración actual y exportarla a un fichero cfg en C:\MyPath\Filename.cfg

#### Ejemplo 2

```powershell
PS C:\> Export-RDMOptionFile -Path C:\MyPath\Filename.cfg -DataSources (Get-RDMDataSource | Where-Object {$_.Name -like "Test*"})
```

Recuperar la configuración actual únicamente con los espacios de trabajo cuyo nombre empiece por Test y exportarla a un fichero cfg en C:\MyPath\Filename.cfg

#### Ejemplo 3

```powershell
PS C:\> Export-RDMOptionFile -Path C:\MyPath\Filename.cfg -ProxySettings -RegistrationName -RegistrationEmail -RegistrationKey -DataSources @()
```

Recuperar el fichero de configuración actual incluyendo la configuración del proxy y la información de registro y sin espacios de trabajo, y exportarlo a un fichero cfg en C:\MyPath\Filename.cfg

### Parámetros

#### -ClearApplicationLockInformation

Borra la información de bloqueo de la aplicación en el fichero de configuración.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -CloudCredentials

Incluye las credenciales de Devolutions Account en el fichero de configuración.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -DataSourceCredentials

Incluye las credenciales de su espacio de trabajo.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Datasources

Los objetos PSDataSource deben recuperarse de Get-RDMCurrentDataSource o Get-RDMDatasource, o crearse mediante New-RDMDataSource.

```yaml
Type: RemoteDesktopManager.PowerShellModule.PSOutputObject.PSDataSource[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -ForceAlwaysRetrieveNewRegistration

Incluye la opción de forzar siempre un nuevo registro en el fichero de configuración.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -ForcePromptAnswer

Modificador que debe usarse con precaución. Responderá automáticamente a las peticiones que planteen preguntas de sí/no, sí/no/cancelar u aceptar/cancelar. En caso de varias peticiones, se pueden pasar varios valores a este parámetro. Estos son los valores aceptados:

* Yes: acepta la petición. Cubre los valores OK y Automatic.
* No: rechaza la petición sí/no/cancelar. «Cancel» es la opción alternativa si no existe la opción «No».
* Cancel: cancela la petición sí/no/cancelar. «No» es la opción alternativa si no existe la opción «Cancel».

```yaml
Type: System.Windows.Forms.DialogResult[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Path

Ruta donde se guardará el fichero. Debe ser diferente del fichero de configuración actual y terminar en .cfg

```yaml
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -ProxySettings

Incluye la configuración de su proxy.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -RegistrationEmail

Incluye el correo electrónico de registro en el fichero de configuración.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -RegistrationKey

Las claves de registro ahora se almacenan en el espacio de trabajo. Evite usar este parámetro. Incluye la clave de registro en el fichero de configuración.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -RegistrationName

Incluye el nombre de registro en el fichero de configuración.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -SavedInstallationPaths

Conserva las rutas de instalación configuradas para la aplicación externa.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -SavedTemplates

Incluye las plantillas locales en el fichero de configuración.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### CommonParameters

Este cmdlet admite los parámetros comunes: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction y -WarningVariable. Para más información, consulte [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

### Entradas

#### System.String

Ruta del fichero

### Notas

Para más información, escriba "Get-Help Export-RDMOptionFile -detailed". Para obtener información técnica, escriba "Get-Help Export-RDMOptionFile -full".


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/powershell/es/powershell-commands/export-rdmoptionfile.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
