> 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/set-rdmentry.md).

# Set-RDMEntry

### Sinopsis

Guardar la entrada.

### Sintaxis

#### \_\_AllParameterSets

```
Set-RDMEntry [-InputObject] <PSConnection[]> [-PassThru] [-Refresh] [-VaultMode <VaultMode>]
 [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### Descripción

Guardar la entrada. La entrada debe obtenerse mediante el cmdlet Get-RDMEntry o mediante el cmdlet New-RDMEntry. En la bóveda del sistema, los tipos admitidos se limitan a Group, Contact, SessionTool y VPN. Este cmdlet no puede utilizarse para mover una entrada a otra bóveda. Para hacerlo, utilice el cmdlet Move-RDMEntry. El usuario debe tener los derechos para añadir o editar la entrada. En la bóveda del sistema, el usuario debe ser administrador.

### Ejemplos

#### Ejemplo 1

```powershell
PS C:\> $folder = New-RDMEntry -Name 'New Folder' -Type 'Group';
        $folder.GroupDetails.UserName = 'MyUserName';
        $folder.GroupDetails.Domain = 'MyDomain';
        $folder = Set-RDMEntry -InputObject $folder -PassThru
```

Crear una nueva entrada sin guardarla y almacenarla en $folder. Añadir información adicional en GroupDetails. Guardar la entrada en la bóveda actual y almacenarla en $folder.

#### Ejemplo 2

```powershell
PS C:\> $entries = Get-RDMEntry -Name Entry?;
    $entries | ForEach-Object { $_.Name = '[Deprecated]' + $_.Name };
    $entries | Set-RDMEntry -Reresh
```

Almacenar todas las entradas cuyo nombre sea Entry seguido de un carácter. Añadir '\[Deprecated]' a su nombre y guardar las modificaciones. El modificador Refresh se utiliza para garantizar que los comandos posteriores se apliquen a las entradas modificadas.

### Parámetros

#### -Confirm

Le solicita confirmación antes de ejecutar el cmdlet.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- cf
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 los mensajes que planteen preguntas de sí/no, sí/no/cancelar u ok/cancelar. En caso de múltiples mensajes, se pueden pasar varios valores a este parámetro. Estos son los valores aceptados:

* Yes: Aceptar el mensaje. Cubre los valores OK y Automatic.
* No: Rechazar el mensaje sí/no/cancelar. «Cancel» es la opción alternativa si no existe la opción «No».
* Cancel: Cancelar el mensaje 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: ''
```

#### -InputObject

Objeto PSConnection\[] obtenido de Get-RDMEntry o creado mediante New-RDMEntry.

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

#### -PassThru

Devolver todas las entradas guardadas como PSConnection\[].

```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: ''
```

#### -Refresh

Actualizar las entradas de la bóveda. Todas las entradas de tipo 'Group' activan automáticamente una actualización para garantizar que estén disponibles para otras entradas. Para modificaciones masivas, utilice Update-RDMEntries después de las modificaciones en lugar de este modificador.

```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: ''
```

#### -VaultMode

Bóveda donde se aplicará el comando. Se ofrecen tres opciones:

* Default: Bóveda actual que se ha establecido.
* User: Bóveda específica del usuario actual.
* Global: Bóveda global del espacio de trabajo.

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

#### -WhatIf

Muestra lo que ocurriría si se ejecutara el cmdlet. El cmdlet no se ejecuta.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- wi
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

#### RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnection

Entradas que se van a guardar obtenidas de Get-RDMEntry o New-RDMEntry

### Notas

Para más información, escriba "Get-Help Set-RDMEntry -detailed". Para información técnica, escriba "Get-Help Set-RDMEntry -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/set-rdmentry.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.
