> 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-rdmforbiddenpasswordlist.md).

# Set-RDMForbiddenPasswordList

Set-RDMForbiddenPasswordList actualiza una lista de contraseñas prohibidas existente en el espacio de trabajo actual de Remote Desktop Manager.

### Sinopsis

Actualizar una lista de contraseñas prohibidas.

### Sintaxis

#### InputObject

```
Set-RDMForbiddenPasswordList -InputObject <PSForbiddenPasswordList> [-NewName <string>]
 [-Password <PSPassword[]>] [-VerificationMode <ForbiddenPasswordVerificationMode>]
 [-CaseSensitive] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

#### Nombre

```
Set-RDMForbiddenPasswordList -Name <string> [-NewName <string>] [-Password <PSPassword[]>]
 [-VerificationMode <ForbiddenPasswordVerificationMode>] [-CaseSensitive]
 [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### Descripción

Actualizar una lista con nombre de contraseñas prohibidas existente en el espacio de trabajo actual, identificada por su nombre (o recibida por canalización de Get-RDMForbiddenPasswordList). Solo cambian las propiedades indicadas; -Password reemplaza toda la lista de contraseñas y -NewName cambia el nombre de la lista. Cuando se recibe una lista por canalización, se aplica su estado y aún se puede reemplazar con los parámetros explícitos. Requiere el permiso para editar la configuración del sistema.

### Ejemplos

#### Ejemplo 1

```powershell
PS C:\> Set-RDMForbiddenPasswordList -Name 'Weak' -VerificationMode Contains
```

Cambia el modo de coincidencia de la lista denominada 'Weak' y deja intactas sus contraseñas y la distinción de mayúsculas.

#### Ejemplo 2

```powershell
PS C:\> Set-RDMForbiddenPasswordList -Name 'Weak' -NewName 'Weak passwords'
```

Cambia el nombre de la lista 'Weak' a 'Weak passwords'.

#### Ejemplo 3

```powershell
PS C:\> $list = Get-RDMForbiddenPasswordList -Name 'Weak'
PS C:\> $list.Passwords += 'password123'
PS C:\> $list | Set-RDMForbiddenPasswordList
```

Recupera la lista denominada 'Weak', anexa una contraseña y guarda el cambio a través de la canalización.

#### Ejemplo 4

```powershell
PS C:\> Get-RDMForbiddenPasswordList -Name 'Weak' | Set-RDMForbiddenPasswordList -VerificationMode Equals
```

Pasa por la canalización la lista denominada 'Weak' y reemplaza su modo de coincidencia conservando el resto de propiedades.

#### Ejemplo 5

```powershell
PS C:\> $lists = Get-RDMForbiddenPasswordList
PS C:\> foreach ($list in $lists) { $list.Passwords = $list.Passwords -ne 'password123' }
PS C:\> $lists | Set-RDMForbiddenPasswordList
```

Quita la contraseña 'password123' de cada lista de contraseñas prohibidas.

### Parámetros

#### -CaseSensitive

Hacer coincidir las contraseñas prohibidas distinguiendo mayúsculas.

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

#### -Confirm

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 varios mensajes, se pueden pasar varios valores a este parámetro. Estos son los valores aceptados:

* Yes: acepta el mensaje. Cubre los valores OK y Automatic.
* No: rechaza el mensaje sí/no/cancelar. "Cancel" es la opción alternativa si no existe la opción "No".
* Cancel: cancela 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

Lista de contraseñas prohibidas que actualizar, obtenida de Get-RDMForbiddenPasswordList.

```yaml
Type: RemoteDesktopManager.PowerShellModule.PSOutputObject.PSForbiddenPasswordList
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: InputObject
  Position: Named
  IsRequired: true
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Name

Nombre de la lista de contraseñas prohibidas que actualizar. La coincidencia no distingue mayúsculas.

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

#### -NewName

Nuevo nombre de la lista. El cambio de nombre sustituye la lista almacenada por el nuevo nombre.

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

#### -Password

Sustituye las contraseñas de la lista, como cadenas de texto sin formato o cadenas seguras.

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

#### -VerificationMode

Modo de coincidencia de esta lista: Contains o Equals.

```yaml
Type: Devolutions.RemoteDesktopManager.ForbiddenPasswordVerificationMode
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.PSForbiddenPasswordList

Lista de contraseñas prohibidas que actualizar, obtenida de Get-RDMForbiddenPasswordList.

### Notas

Para más información, escriba "Get-Help Set-RDMForbiddenPasswordList -detailed". Para obtener información técnica, escriba "Get-Help Set-RDMForbiddenPasswordList -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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/powershell/es/powershell-commands/set-rdmforbiddenpasswordlist.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
