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

# Set-RDMSystemSettingsTags

### Sintesi

Imposta l'elenco dei tag delle impostazioni di sistema.

### Sintassi

#### \_\_AllParameterSets

```
Set-RDMSystemSettingsTags [-Tags] <string[]> [-ForcePromptAnswer <DialogResult[]>] [-WhatIf]
 [-Confirm] [<CommonParameters>]
```

### Descrizione

Imposta l'elenco dei tag di sistema per lo spazio di lavoro. Questa operazione sostituisce tutti i tag di sistema esistenti. I tag di sistema aiutano a organizzare e trovare le voci correlate, migliorando la ricerca, i filtri e le panoramiche della dashboard. I tag di sistema possono essere assegnati alle voci in tutte le casseforti.

I tag che contengono spazi vengono automaticamente racchiusi tra virgolette. I tag duplicati (senza distinzione tra maiuscole e minuscole) vengono rimossi. I nomi dei tag non possono contenere il carattere ". Gli spazi vengono rimossi dai nomi dei tag.

Richiede l'autorizzazione per le impostazioni dello spazio di lavoro.

### Esempi

#### Esempio 1

```powershell
PS C:\> $tags = @("Production", "Development", "Test")
PS C:\> Set-RDMSystemSettingsTags -Tags $tags
```

Imposta l'elenco dei tag di sistema con tre tag.

#### Esempio 2

```powershell
PS C:\> $tags = @(Get-RDMSystemSettingsTags)
PS C:\> $tags += "NewTag"
PS C:\> Set-RDMSystemSettingsTags -Tags $tags
```

Ottiene i tag di sistema correnti, ne aggiunge uno nuovo e salva l'elenco aggiornato. L'uso di @() garantisce che $tags sia sempre un array per le operazioni su array come +=.

#### Esempio 3

```powershell
PS C:\> Set-RDMSystemSettingsTags -Tags @()
```

Cancella tutti i tag di sistema.

#### Esempio 4

```powershell
PS C:\> Get-RDMSystemSettingsTags | Where-Object { $_ -match "^Prod" } | Set-RDMSystemSettingsTags
```

Utilizzo della pipeline per filtrare e impostare i tag di sistema. Ottiene tutti i tag, mantiene solo quelli che iniziano con 'Prod' e salva l'elenco filtrato.

#### Esempio 5

```powershell
PS C:\> Set-RDMSystemSettingsTags -Tags @("Tag with spaces", "SimpleTag") -WhatIf
```

Anteprima delle modifiche senza applicarle. Mostra come vengono gestiti i tag con spazi.

### Parametri

#### -Confirm

Richiede la 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 prompt multipli, è 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 riserva se non è presente l'opzione "No".
* Cancel: annulla il prompt sì/no/annulla. "No" è l'opzione di riserva 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: ''
```

#### -Tags

Array di tag di sistema da impostare. Passare un array vuoto per cancellare tutti i tag.

```yaml
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: true
  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

#### System.String

Nome del tag da aggiungere all'elenco dei tag di sistema.

#### System.String\[]

### Note

Per maggiori informazioni, digiti "Get-Help Set-RDMSystemSettingsTags -detailed". Per informazioni tecniche, digiti "Get-Help Set-RDMSystemSettingsTags -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/it/powershell-commands/set-rdmsystemsettingstags.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.
