How to reboot windows 10 using PowerShell and ask for user confirmation

User Avatar
👤 admin
🔴 Admin
✍️ The most important thing in the world is to not be alone.
⏳ Last active: 15 Apr 2025 at 16:01
📅 Created: 16 Feb 2021 at 11:39
👀 Viewed: 16 times
✉️ Send Email

This is a super easy, super fast tutorial on how to reboot a computer and even a remote computer using PowerShell. Reboot Windows from PowerShell


restart-computer

Reboot with user confirmation


restart-computer -Confirm
If you want to comment: Login or Register