Can't convert from Server Core to GUI

RedGaiterRedGaiter Member Posts: 83 ■■□□□□□□□□
Hi guys. I'm practicing cmdlets, and I was successfully able to convert from the GUI to server core, but I can't reverse the process.

Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart brings up an error saying "Install-WindowsFeature is not recognized..."

Anybody know how to fix this?

Comments

  • cyberguyprcyberguypr Mod Posts: 6,928 Mod
    Did you try specifying the path with -Source?
  • DyasisDyasis Member Posts: 97 ■■□□□□□□□□
    Silly question, but what version of Server are you using? 2008? 2008 R2? 2012? etc...

    the reason why I ask, if it's not 2012, then you have to use
    Add-WindowsFeature
    and not Install-WindowsFeature
  • netsysllcnetsysllc Member Posts: 479 ■■■■□□□□□□
    Assuming your using Server 2012 try this first 'Import-Module ServerManager'. 2008/2008R2 cannot be converted, a full install is required.
  • Vask3nVask3n Member Posts: 517
    Dyasis wrote: »
    Silly question, but what version of Server are you using? 2008? 2008 R2? 2012? etc...

    the reason why I ask, if it's not 2012, then you have to use

    and not Install-WindowsFeature

    Like Dyasis says there's like two versions of the command, and the older one is Add-WindowsFeature
    netsysllc wrote: »
    Assuming your using Server 2012 try this first 'Import-Module ServerManager'. 2008/2008R2 cannot be converted, a full install is required.

    Also if the module is not imported that could be the problem, let us know what ends up fixing it for you

    Here's some more info on that cmdlet

    Install-WindowsFeature
    Working on MS-ISA at Western Governor's University
  • RedGaiterRedGaiter Member Posts: 83 ■■□□□□□□□□
    I'm running 2012 R2
  • RomBUSRomBUS Member Posts: 699 ■■■■□□□□□□
    +1 on the import of the Server Manager cmdlets
Sign In or Register to comment.