> 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/pam/it/knowledge-base/how-to-articles/elevate-management-tools-with-a-privileged-account.md).

# Elevare gli strumenti di gestione con un account privilegiato

Elevi gli strumenti di gestione con un account privilegiato utilizzando sessioni PowerShell Remote configurate per essere eseguite come amministratore in Remote Desktop Manager.

Scopra come gestire gli strumenti con privilegi elevati utilizzando il tipo di sessione PowerShell Remote in Remote Desktop Manager. Stabilisce una connessione a un host remoto tramite ps-sessions con credenziali diverse.

### Prerequisito

* Il [***WinRM HTTPS listener***](https://learn.microsoft.com/en-us/windows/win32/winrm/installation-and-configuration-for-windows-remote-management) è configurato correttamente sulla workstation di destinazione.
* Viene utilizzato un ***certificato SSL valido*** con un'impronta digitale appropriata.

#### Configurazione di una **voce PowerShell terminal (Remote)**

1. Apra **Remote Desktop Manager.**
2. Faccia clic su **New entry** e cerchi **PowerShell terminal (Remote)**.
3. Selezioni **PowerShell terminal (Remote)** come tipo di sessione.
4. Inserisca il nome, l'host e le credenziali.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>È possibile configurare più host e selezionare la destinazione all'avvio della sessione.</p></div>
5. Le credenziali elevate possono essere credenziali personalizzate da AD, un account di gestione degli accessi privilegiati o qualsiasi altra voce di credenziali di Remote Desktop Manager.
6. Per elevare le autorizzazioni, la sessione deve essere configurata per essere ***eseguita come amministratore***.
7. Vada alla scheda **Run as**.
8. Abiliti l'impostazione **Run as administrator**. Si noti che la porta 5986 - HTTPS (WinRM) viene utilizzata quando si esegue la voce PowerShell come amministratore.
9. Faccia clic su ***Add*** per salvare la voce PowerShell.
10. Esegua la voce PowerShell.
11. Per confermare che la sessione sia in esecuzione con un account privilegiato, utilizzi i seguenti comandi PowerShell:

* Verifichi l'utente corrente

```powershell
whoami
```

* Verifichi le autorizzazioni elevate

```powershell
$currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())
$currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
```


---

# 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/pam/it/knowledge-base/how-to-articles/elevate-management-tools-with-a-privileged-account.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.
