Reboot with PowerShell: Use Restart-Computer to restart locally, remotely, and automate reboots for multiple Windows computers
Rebooting a Windows PC via PowerShell is a routine administrative task. This guide will teach you how to use the PowerShell cmdlet Restart-Computer to reboot a local Windows PC, restart a remote computer, and automate the reboot process for multiple systems.