Can't convert from Server Core to GUI

RedGaiterRedGaiter Posts: 83Member ■■□□□□□□□□
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 Senior Member Posts: 6,846Mod Mod
    Did you try specifying the path with -Source?
  • DyasisDyasis Posts: 97Member ■■□□□□□□□□
    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 Posts: 479Member ■■■■□□□□□□
    Assuming your using Server 2012 try this first 'Import-Module ServerManager'. 2008/2008R2 cannot be converted, a full install is required.
  • Vask3nVask3n Posts: 517Member
    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 Posts: 83Member ■■□□□□□□□□
    I'm running 2012 R2
  • RomBUSRomBUS Posts: 699Member ■■■■□□□□□□
    +1 on the import of the Server Manager cmdlets
Sign In or Register to comment.