Can't convert from Server Core to GUI
RedGaiter
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?
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
-
Dyasis 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 useAdd-WindowsFeature -
netsysllc Member Posts: 479 ■■■■□□□□□□Assuming your using Server 2012 try this first 'Import-Module ServerManager'. 2008/2008R2 cannot be converted, a full install is required.
-
Vask3n Member Posts: 517Silly 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-WindowsFeatureAssuming 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-WindowsFeatureWorking on MS-ISA at Western Governor's University