> 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/it/powershell-commands/set-rdmforbiddenpasswordlist.md).

# Set-RDMForbiddenPasswordList

Set-RDMForbiddenPasswordList aggiorna un elenco di password vietate esistente nello spazio di lavoro corrente di Remote Desktop Manager.

### Sinossi

Aggiornare un elenco di password vietate.

### Sintassi

#### InputObject

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

#### Name

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

### Descrizione

Aggiornare un elenco denominato di password vietate esistente nello spazio di lavoro corrente, identificato dal nome (o ricevuto dalla pipeline di Get-RDMForbiddenPasswordList). Vengono modificate solo le proprietà fornite; -Password sostituisce l'intero elenco di password e -NewName rinomina l'elenco. Quando un elenco viene ricevuto dalla pipeline, il suo stato viene applicato e può ancora essere sostituito dai parametri espliciti. Richiede l'autorizzazione a modificare le impostazioni di sistema.

### Esempi

#### Esempio 1

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

Modifica la modalità di corrispondenza dell'elenco denominato 'Weak', lasciando invariate le password e la distinzione tra maiuscole e minuscole.

#### Esempio 2

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

Rinomina l'elenco 'Weak' in 'Weak passwords'.

#### Esempio 3

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

Recupera l'elenco denominato 'Weak', aggiunge una password e salva la modifica tramite la pipeline.

#### Esempio 4

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

Invia nella pipeline l'elenco denominato 'Weak' e sostituisce la modalità di corrispondenza mantenendo le altre proprietà.

#### Esempio 5

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

Rimuove la password 'password123' da ogni elenco di password vietate.

### Parametri

#### -CaseSensitive

Confrontare le password vietate con distinzione tra maiuscole e minuscole.

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

Richiede una conferma prima di eseguire il 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

Opzione da usare con cautela. Risponderà automaticamente ai prompt che pongono domande sì/no, sì/no/annulla oppure ok/annulla. In caso di più prompt, è possibile passare più valori a questo parametro. Ecco i valori accettati:

* Yes: accetta il prompt. Copre i valori OK e Automatic.
* No: rifiuta il prompt sì/no/annulla. "Cancel" è l'opzione di ripiego se non è presente l'opzione "No".
* Cancel: annulla il prompt sì/no/annulla. "No" è l'opzione di ripiego se non è presente l'opzione "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

Elenco di password vietate da aggiornare, ottenuto da 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

Nome dell'elenco di password vietate da aggiornare. La corrispondenza non distingue maiuscole e minuscole.

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

Nuovo nome dell'elenco. La rinomina sostituisce l'elenco archiviato con il nuovo nome.

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

Sostituisce le password dell'elenco, come stringhe in chiaro o stringhe sicure.

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

Modalità di corrispondenza per questo elenco: 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

Mostra cosa accadrebbe se il cmdlet venisse eseguito. Il cmdlet non viene eseguito.

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

Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Per maggiori informazioni, veda [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

### Input

#### RemoteDesktopManager.PowerShellModule.PSOutputObject.PSForbiddenPasswordList

Elenco di password vietate da aggiornare, ottenuto da Get-RDMForbiddenPasswordList.

### Note

Per maggiori informazioni, digiti "Get-Help Set-RDMForbiddenPasswordList -detailed". Per informazioni tecniche, digiti "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/it/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.
