Restart Windows Server activity

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 2분
  • The Restart Windows Server activity stops and then restarts a Windows server using Powershell.

    주:
    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, which gives workflow administrators the ability to store input and output variables in the databus.

    Input variables

    표 1. Restart Windows Server input variables
    Variable Description
    Hostname Hostname or IP address of the Windows server to restart.

    Output variables

    표 2. Restart Windows Server output variables
    Variable Description
    result Either success or failure.
    errorMessage The executionResult.errorMessages from the Activity designer parsing sources. If this variable is not null, the operation has failed.

    Conditions

    표 3. Restart Windows Server conditions
    Condition Description
    Success The activity succeeded in restarting the Windows server.
    Failure The activity failed to restart the Windows server.