Quick hint: Basic computer actions using PowerShell in Windows Server 2012

Share this:
sans-titre_thumb2_thumb How to manage basic computer tasks in Windows Server 2012, such as logoff, restart and shutdown from the PowerShell?

I do share the same feeling, I really enjoy the new interface but when you are in a RDP session and you want to be fast, there is nothing better than open PowerShell, cmdlet and hit enter and see ya!, right? So here we have a list of common tasks where we can use Powershell and a couple of commands to get stuff done.Restarting your computer..


Logging off your session..


Shutdown your computer…



Before doing all that is always good to check the computer name, so the command below will help you out Smile 



Written by Anderson Patricio

Anderson Patricio is a Canadian Exchange Server MVP and MCSM (Solutions Master) and he contributes to the Microsoft Community with articles, tutorials, blog posts, forums and book reviews. He is a regular contributor at MSExchange.org, ITPROCentral.com and AndersonPatricio.org (Portuguese).