Install Server 2012 GUI from CMD

Wile removing IIS from a local site server I noticed that the User Interface and infrastructure role was being removed too! Doh! When the server had rebooted I was presented with just the CMD prompt. To get the GUI back  I run the comand below. Dism /online /enable-feature /featurename:Server-Gui-Mgmt /featurename:Server-Gui-Shell /featurename:ServerCore-FullServer /all Advertisements