> 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/pam-with-devolutions-server/password-propagation-scripts/create-a-script-template.md).

# Creare un modello di script

Sebbene Devolutions proponga un'ampia varietà di modelli di script PowerShell, gli amministratori possono crearne di personalizzati. Ecco i passaggi da seguire:

1. Acceda a Devolutions Server con un account amministratore.
2. Vada su ***Amministrazione*** – ***Moduli*** – ***Accesso privilegiato*** – ***Propagazione delle password***.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS0004_2025_3.png" alt=""><figcaption></figcaption></figure>
3. Clicchi su ***Modelli di script***.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS4042_2024_2.png" alt=""><figcaption></figcaption></figure>
4. Clicchi su ***Aggiungi***.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS4049_2024_2.png" alt=""><figcaption></figcaption></figure>
5. Nella scheda ***Generale***, aggiunga un ***Nome*** per questo modello.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>È possibile aggiungere una <em><strong>Descrizione</strong></em>. Anche l'icona può essere modificata cliccandoci sopra.</p></div>
6. Nella scheda ***Proprietà di propagazione delle password***, aggiunga le variabili per lo script cliccando su ***+ Aggiungi proprietà***. Le variabili aggiunte in questa scheda devono rappresentare l'URL della macchina remota (ad esempio, ComputerIP, Username, Password e RootFolder).

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB0113.png" alt=""><figcaption></figcaption></figure>
7. Nella scheda ***Mappatura delle proprietà***, aggiunga le variabili per lo script cliccando su ***+ Aggiungi proprietà***. Le variabili aggiunte in questa scheda devono rappresentare la ***Mappatura dei campi*** della macchina remota (ad esempio, FileName e FilePath).

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB0114.png" alt=""><figcaption></figcaption></figure>
8. Nella scheda ***Script*** compaiono le variabili precedenti nonché la variabile ***NewPassword***. Questa nuova variabile conterrà la nuova password dell'account all'esecuzione dello script.
9. Clicchi su ***Genera script di base***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB0115.png" alt=""><figcaption></figcaption></figure>

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Clicchi su <em><strong>Modifica</strong></em> per modificare o integrare lo script.</p></div>
10. Clicchi su ***Salva*** per salvare questa configurazione e chiudere la finestra.

    <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Maggiori informazioni sugli script personalizzati per questa funzionalità sono disponibili sul nostro <a href="https://github.com/Devolutions/PAM-Providers/blob/master/Propagation-Scripts/Create-A-Template.md">GitHub pubblico</a>.</p></div>

#### Vedere anche

* [Spotlight on password propagation: Keeping all passwords in sync across systems](https://www.youtube.com/watch?v=TjvE-nubPXY\&ab_channel=Devolutions)


---

# 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/pam-with-devolutions-server/password-propagation-scripts/create-a-script-template.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.
