I need a power script down using PowerShell

Asked By 50 points N/A Posted on -
qa-featured

Hello there.  Is there a way I can shut down and restart my desktop without using the Start button?  Can someone help me with a power script down using Microsoft PowerShell?  I'm on Windows 7 64 bit.  Any help would be much appreciated.  Thanks in advance.

SHARE
Answered By 5 points N/A #145065

I need a power script down using PowerShell

qa-featured
Greetings,
 
I understand your need for a Windows shutdown PowerShell script. You may try this.
 
get-help stop-computer -full
 
or this:
 
Clear-Host
Stop-Computer -computerName "pcname"
 
Just replace the pcname with your computer's name. On another note, if you want to shutdown the computer without pressing the Start button, you may press the windows button, press the right arrow key then hit enter. Alternatively, there's a bunch of software on the web that can do this for you.

Related Questions