---
sourceDocument: オーストラリア ServiceNow AI Platform の機能
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/servicenow-platform

 Release :

    - australia

ft:locale :

    - ja-JP

ft:publication_title :

    - オーストラリア ServiceNow AI Platform の機能

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# \[Windows Server を再起動\] アクティビティ

# \[Windows Server を再起動\] アクティビティ {#ariaid-title1}

* リリースバージョン: Australia
* 
* 更新日 2026年03月12日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：1分

\[Windows Server を再起動\] アクティビティが停止してから、PowerShell を使用して Windows Server を再起動します。
注:  
このアクティビティによって、Geneva より前のリリースで使用可能な同じ名前の Powershell アクティビティが置き換えられます。廃止されたアクティビティを使用する前のバージョンで作成されたワークフローがある場合、このワークフローは、Geneva にアップグレードした後も引き続き正常に機能します。ただし、新しいワークフローはすべて、このアクティビティのカスタムバージョンを使用する必要があります。このアクティビティは、[Powershell アクティビティテンプレート](https://servicenow-prod.fluidtopics.net/lcI9_3_ZdVVruFkuGCGo5g#t_CreateAPowershellActivity "Microsoft PowerShell を使用してホストからワークフローにデータを返すために、カスタム PowerShell アクティビティを作成します。")を使用して作成されました。これにより、ワークフローアドミニストレーターは、入力変数と出力変数を[データバス](https://servicenow-prod.fluidtopics.net/JV2boW58OA1pPUOIq7Rq1g#t_ReuseDataInTheActivityDesigner "ワークフローエディターの [データ] タブには、現在のワークフローで使用されている、データを生成するすべてのカスタムアクティビティがリストされ、そのデータが他のカスタムアクティビティで再利用するために表示されます。")に保管できます。

## 入力変数

{#r_RestartWindowsServerActivity__table_xdb_kgt_hp__entry__2}

| 変数 | 説明 |
|-|-|
| ホスト名 | 再起動する Windows Server のホスト名または IP アドレス。 |
[表 : 1. \[Windows Server を再起動\] 入力変数]

{#r_RestartWindowsServerActivity__table_xdb_kgt_hp}

## 出力変数

{#r_RestartWindowsServerActivity__table_rx4_2lz_pt__entry__2}

| 変数 | 説明 |
|-|-|
| result | success または failure。 |
| errorMessage | [アクティビティデザイナーの解析ソース](https://servicenow-prod.fluidtopics.net/Rp46r8Vf6WSi2PN6kijQbQ#r_ActivityDesignerParsingSources "次の表に、各実行テンプレートで使用可能な解析ソースを示します。")からの executionResult.errorMessages。この変数が NULL 以外の場合、操作は失敗します。 |
[表 : 2. \[Windows Server を再起動\] 出力変数]

{#r_RestartWindowsServerActivity__table_rx4_2lz_pt}

## 条件

{#r_RestartWindowsServerActivity__table_ygy_14z_pt__entry__2}

| 条件 | 説明 |
|-|-|
| 成功 | アクティビティが Windows Server の再起動に成功しました。 |
| 失敗 | アクティビティが Windows Server を再起動できませんでした。 |
[表 : 3. \[Windows Server を再起動\] 条件]

{#r_RestartWindowsServerActivity__table_ygy_14z_pt}

