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

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).