Turn On/Off Windows Server 2012 GUI with PowerShell

Turn GUI Off with PowerShell

Get-WindowsFeature *gui* | Uninstall-WindowsFeature –Restart
Once rebooted, you will only have the command line and no GUI

Turn GUI On with PowerShell

Get-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell | Install-WindowsFeature –restart
Once rebooted, you will have the GUI

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s