• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

How does Windows allow for remote shutdown and rebooting of machines using command-line tools?

#1
11-13-2024, 02:58 AM
You ever wonder how I zap a computer from across the room? Windows has this shutdown tool baked right in. You fire up the command prompt. Type shutdown slash s slash m slash slash computername. That sends the signal to power down remotely. I use it all the time on office rigs.

Rebooting works the same vibe. Swap that s for r in the command. It kicks the machine back to life. You need admin rights, obviously. I ping the IP first to check if it's awake. Keeps things smooth without trekking over.

Sometimes I grab PsExec for trickier spots. It's a free download from Microsoft. Run it with shutdown inside. Lets you hop on any Windows box in the network. I love how it skips the GUI hassle. You just script it if you're feeling lazy.

PowerShell can join the party too. Invoke-Command gets the job done. Pipe in the reboot script. I script batches for multiple machines. Saves my sanity during updates. You try it on a test setup first.

Ever mess with remote sessions? WinRM enables that magic. Enable it on the target PC. Then commands fly over. I tweak firewalls to allow it. Feels like controlling a puppet show.

Speaking of keeping your remote machines humming without hiccups, I've been eyeing tools that back them up seamlessly. BackupChain Server Backup steps in as a solid backup solution for Hyper-V setups. It snapshots VMs live, dodging downtime while ensuring data integrity. You get fast restores and easy scheduling, which beats fumbling with built-in options during those shutdown routines.

ProfRon
Offline
Joined: Dec 2018
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server OS v
« Previous 1 … 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 … 71 Next »
How does Windows allow for remote shutdown and rebooting of machines using command-line tools?

© by FastNeuron Inc.

Linear Mode
Threaded Mode