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

# Skriptvorlage erstellen

Obwohl Devolutions eine große Auswahl an PowerShell-Skriptvorlagen anbietet, können Administratoren eigene erstellen. Hier sind die Schritte dazu:

1. Melden Sie sich mit einem Administratorkonto bei Devolutions Server an.
2. Gehen Sie zu ***Administration*** – ***Module*** – ***Privilegierter Zugriff*** – ***Passwortweitergabe***.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS0004_2025_3.png" alt=""><figcaption></figcaption></figure>
3. Klicken Sie auf ***Skriptvorlagen***.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS4042_2024_2.png" alt=""><figcaption></figcaption></figure>
4. Klicken Sie auf ***Hinzufügen***.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS4049_2024_2.png" alt=""><figcaption></figcaption></figure>
5. Fügen Sie im Tab ***Allgemein*** einen ***Namen*** für diese Vorlage hinzu.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Es ist möglich, eine <em><strong>Beschreibung</strong></em> hinzuzufügen. Das Symbol kann ebenfalls geändert werden, indem Sie darauf klicken.</p></div>
6. Fügen Sie im Tab ***Passwortweitergabe-Eigenschaften*** die Variablen für das Skript hinzu, indem Sie auf ***+ Eigenschaft hinzufügen*** klicken. Die in diesem Tab hinzugefügten Variablen sollten die URL zum Remote-Computer darstellen (d. h. ComputerIP, Username, Password und RootFolder).

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB0113.png" alt=""><figcaption></figcaption></figure>
7. Fügen Sie im Tab ***Eigenschaftszuordnung*** die Variablen für das Skript hinzu, indem Sie auf ***+ Eigenschaft hinzufügen*** klicken. Die in diesem Tab hinzugefügten Variablen sollten die ***Feldzuordnung*** des Remote-Computers darstellen (d. h. FileName und FilePath).

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB0114.png" alt=""><figcaption></figcaption></figure>
8. Im Tab ***Skript*** erscheinen die vorherigen Variablen sowie die Variable ***NewPassword***. Diese neue Variable enthält das neue Passwort für das Konto bei der Skriptausführung.
9. Klicken Sie auf ***Basisskript generieren***.

   <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>Klicken Sie auf <em><strong>Bearbeiten</strong></em>, um das Skript zu ändern oder zu ergänzen.</p></div>
10. Klicken Sie auf ***Speichern***, um diese Konfiguration zu speichern und das Fenster zu schließen.

    <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Erfahren Sie mehr über benutzerdefinierte Skripte für diese Funktion auf unserem <a href="https://github.com/Devolutions/PAM-Providers/blob/master/Propagation-Scripts/Create-A-Template.md">öffentlichen GitHub</a>.</p></div>

#### Siehe auch

* [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/de/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.
