Restart Computer

Description

Restarts the local or remote computer.

Overview

Restarts the local or remote computer using impersonation or explicit credentials.

Arguments

Parameters Type Description
Target string The IP address or hostname of the system to restart.
Username string The local or domain username to authenticate with.
Password string The password for the specified user.
Force Boolean Force the computer to restart immediately with no prompt.

Dependencies

  • None

Operating Systems

  • Windows
  • Linux (localhost only)
  • Mac (localhost only)

Pre-Requisites:

  • Authenticated user for remote systems.
Scroll to Top