You can use this command to do any of the following as part of the task
Note: If you include Shutdown or Restart in the task then any actions after shutdown or restart will not be executed. So ideally you would want shutdown and restart command the last.
.