Restart-VMGuest — Basic UsageIT technician command center
VMware · PowerCLI and ESXi

Restart-VMGuest — Basic Usage

Use Restart-VMGuest for a standard administrative task.

Copy-ready commandRestart-VMGuest — Basic Usage
Restart-VMGuest -VM vm01 -Confirm:$false
Production warning

Snapshot, power, move, and removal operations affect virtual machines.

Requirements and permissions

Requirements
VMware PowerCLI or ESXi shell
Permissions
vCenter or ESXi permissions vary
Last reviewed
2026-07-31

Examples

Basic Usage

Use Restart-VMGuest for a standard administrative task.

Restart-VMGuest -VM vm01 -Confirm:$false

Original command

Request a guest operating system restart.

Restart-VMGuest -VM vm01 -Confirm:$false

Common errors

Command not found

Confirm VMware PowerCLI or ESXi shell is installed and available in your current shell.