---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Restart Windows Server activity

# Restart Windows Server activity {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

The Restart Windows Server activity stops and then restarts a Windows server using
Powershell.
Hinweis:  
This activity replaces a Powershell activity by the same name available in releases prior to Geneva. If you have a workflow created in a previous version that uses the deprecated activity, your workflow will continue to work normally after upgrading to Geneva. However, all new workflows must use the custom version of this activity. This activity was built with the [Powershell activity template](https://servicenow-prod.fluidtopics.net/SV5g3MJvrMeLhWdD7UG1VQ#t_CreateAPowershellActivity "Create a custom PowerShell activity return data to a workflow from a host using Microsoft PowerShell."), which gives workflow administrators the ability to store input and output variables in the [databus](https://servicenow-prod.fluidtopics.net/8OYaonyVEUHUlQE7wAXD_w#t_ReuseDataInTheActivityDesigner "The Data tab in the Workflow Editor lists all custom activities used in the current workflow that produce data and displays that data for reuse in other custom activities.").

## Input variables

{#r_RestartWindowsServerActivity__table_xdb_kgt_hp__entry__2}

| Variable | Description |
|-|-|
| Hostname | Hostname or IP address of the Windows server to restart. |
[Tabelle : 1. Restart Windows Server input variables]

{#r_RestartWindowsServerActivity__table_xdb_kgt_hp}

## Output variables

{#r_RestartWindowsServerActivity__table_rx4_2lz_pt__entry__2}

| Variable | Description |
|-|-|
| result | Either success or failure. |
| errorMessage | The executionResult.errorMessages from the [Activity designer parsing sources](https://servicenow-prod.fluidtopics.net/jecuRsCuzIyfFDyPkB_Ehw#r_ActivityDesignerParsingSources "This table lists the parsing sources available with each execution template."). If this variable is not null, the operation has failed. |
[Tabelle : 2. Restart Windows Server output variables]

{#r_RestartWindowsServerActivity__table_rx4_2lz_pt}

## Conditions

{#r_RestartWindowsServerActivity__table_ygy_14z_pt__entry__2}

| Condition | Description |
|-|-|
| Success | The activity succeeded in restarting the Windows server. |
| Failure | The activity failed to restart the Windows server. |
[Tabelle : 3. Restart Windows Server conditions]

{#r_RestartWindowsServerActivity__table_ygy_14z_pt}

