> 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/get-rdmentrypassword.md).

# Get-RDMEntryPassword

### Sinossi

Risolve la password della voce specificata

### Sintassi

#### Id

```
Get-RDMEntryPassword [-ID] <guid> [-Comment <string>] [-TicketID <string>] [-AsPlainText]
 [-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]
```

#### InputObject

```
Get-RDMEntryPassword [-InputObject] <PSConnection> [-Comment <string>] [-TicketID <string>]
 [-AsPlainText] [-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]
```

#### MyPersonalCredentials

```
Get-RDMEntryPassword -MyPersonalCredentials [-Comment <string>] [-TicketID <string>] [-AsPlainText]
 [-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]
```

#### MyPrivilegedAccount

```
Get-RDMEntryPassword -MyPrivilegedAccount [-Comment <string>] [-TicketID <string>] [-AsPlainText]
 [-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]
```

### Descrizione

Risolve la password della voce specificata. La voce può essere specificata in due modi: tramite il suo ID e passando l'oggetto PSConnection. Quando si utilizza il parametro ID, il parametro VaultMode può essere usato per cercare la voce nella cassaforte utente o nella cassaforte globale. Per il parametro InputObjet, la voce può essere ottenuta da Get-RDMEntry, Get-RDMPersonalCredentials e Get-RDMPrivilegedAccount. Se la password è stata modificata localmente tramite Set-RDMEntryPassword e la voce è una credenziale, verrà restituita la vecchia password. Per vedere la nuova password, è necessario chiamare Update-RDMEntries. Per ottenere la password, l'utente deve poterla copiare. In genere ciò significa il diritto di visualizzarla. Tuttavia, in alcuni casi, potrebbe essere richiesto un amministratore o una password non vuota. Anche lo stato della voce, come Locked o Expired, può impedire l'ottenimento della password. Se lo spazio di lavoro richiede una richiesta di conferma sulle credenziali visualizzate, all'utente verrà richiesto ogni campo obbligatorio. Per evitarlo, è necessario utilizzare i parametri TicketID e Comment.

### Esempi

#### Esempio 1

```powershell
PS C:\> Get-RDMEntryPassword -ID '00000000-0000-0000-0000-000000000000' -AsPlainText -VaultMode User
```

Ottiene, come testo normale, la password della voce nella cassaforte utente il cui ID è '00000000-0000-0000-0000-000000000000'

#### Esempio 2

```powershell
PS C:\> Get-RDMEntry -Name 'MyCredEntry' -VaultMode Global | Get-RDMEntryPassword -TicketID 'tick101' -Comment 'Why not'
```

Ottiene, come SecureString, la password della voce 'MyCredEntry' nella cassaforte di sistema. Il numero del ticket e il commento sono passati con i parametri associati per evitare la richiesta di conferma.

#### Esempio 3

```powershell
PS C:\> Get-RDMPersonalCredentials | Get-RDMEntryPassword -AsPlainText
```

Ottiene, come testo normale, la password di 'My Personal Credentials' nelle impostazioni utente.

#### Esempio 4

```powershell
PS C:\> Get-RDMPrivilegedAccount | Get-RDMEntryPassword -AsPlainText
```

Ottiene, come testo normale, la password di 'My Privileged Account' nelle impostazioni utente.

### Parametri

#### -AsPlainText

Restituisce la password come testo normale.

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

#### -Comment

Commento per il log delle credenziali visualizzate.

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

#### -ForcePromptAnswer

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

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

#### -ID

ID della voce da cui ottenere la password.

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

#### -InputObject

Voce da cui ottenere la password. Può essere ottenuta da Get-RDMEntry, Get-RDMPersonalCredentials o Get-RDMPrivilegedAccount.

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

#### -MyPersonalCredentials

Ottiene la password da 'My Personal Credentials'.

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

#### -MyPrivilegedAccount

Ottiene la password da 'My Privileged Account'.

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

#### -TicketID

Numero del ticket per il log delle credenziali visualizzate

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

#### -VaultMode

Cassaforte a cui verrà applicato il comando. Sono offerte tre scelte:

* Default: cassaforte corrente impostata.
* User: cassaforte specifica dell'utente corrente.
* Global: cassaforte globale dello spazio di lavoro.

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

#### 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.PSConnection

Oggetto PSConnection della voce ottenuto da Get-RDMEntry, Get-RDMPersonalCredentials o Get-RDMPrivilegedAccount

### Note

Per maggiori informazioni, digiti "Get-Help Get-RDMEntryPassword -detailed". Per informazioni tecniche, digiti "Get-Help Get-RDMEntryPassword -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/get-rdmentrypassword.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.
