# Host neu starten

### Beschreibung

Dieses Runbook startet einen bestimmten AVD Session Host neu. Wenn Benutzer angemeldet sind, werden sie getrennt. In jedem Fall wird der Drain-Modus aktiviert und der Session Host neu gestartet. Wenn der SessionHost nicht ausgeführt wird, wird er gestartet. Sobald der Session Host ausgeführt wird, wird der Drain-Modus wieder deaktiviert.

### Speicherort

Gerät → AVD → Host neu starten

**Vollständiger Runbook-Name**

rjgit-device\_AVD\_restart-host

### Berechtigungen

#### Hinweise zu Berechtigungen

Azure: Desktop Virtualization Host Pool Contributor und Virtual Machine Contributor für das Abonnement, das den Hostpool enthält

### Parameter

#### DeviceName

Der Name des AVD Session Host-Geräts, das neu gestartet werden soll. In der UI ausgeblendet

| Eigenschaft  | Wert         |
| ------------ | ------------ |
| Erforderlich | wahr         |
| Standardwert |              |
| Typ          | Zeichenfolge |

#### SubscriptionIds

Array von Azure-Abonnement-IDs, in denen sich die Ressourcen des AVD Session Host befinden. Aus der Einstellung AVD.SubscriptionIds abgerufen (Anpassung). In der UI ausgeblendet

| Eigenschaft  | Wert            |
| ------------ | --------------- |
| Erforderlich | wahr            |
| Standardwert |                 |
| Typ          | Zeichenfolge\[] |

[Zurück zur Übersicht der Runbook-Referenz](/de/automatisierung/runbooks/runbook-references.md)


---

# Agent Instructions: 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:

```
GET https://docs.realmjoin.com/de/automatisierung/runbooks/runbook-references/device/avd/restart-host.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
