|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