Learn about my 2012 Core Survival Guide here.
This blog is going to cover some user functions like logging off, shutting down the OS, and launching Task Manager without the GUI.
How to log off
The Logoff command is not a native PowerShell cmdlet but it works from PowerShell.
The screen shot below shows the user logging off their current session.
How to restart server
To restart the computer you can use the PowerShell cmdlet Restart-computer. The computer will shut down and restart using this cmdlet.
The command below will immediately restart the computer.
How to shutdown server
You can power off the computer using the PowerShell cmdlet Stop-Computer.
The command below will immediately shutdown and power off the computer.
How to bring up Task Manager
Windows Server 2012 core includes Task Manager. At any time you can simply type Ctrl-Shift-ESC to start the task manager. There is also a command line, and way to launch it from within PowerShell
The output below shows the PowerShell method for starting Task Manager.
I hope you found this useful. Please leave me a comment. Let me know if there are any core tasks you would like me to cover.
One thing that might be helpful to add to this section is to make a remark that if you accidentally close down your shell you can press "ctrl-shift-end" to bring up the task manager, and then run cmd.exe to bring it back up.