How to install PowerShell on Windows Server 2012 R2 Core

PoweShell is not installed by default on Windows Core edition. We need to enable this feature. One of the prerequisite for PowerShell is .Net Framework so we have to install .Net framework first.To install .Net Framework 4.0 run the following Command

Dism /Online /Enable-Feature /FeatureName:NetFx4 /All
OR
Dism /Online /Enable-Feature /FeatureName:NetFx4 /All /LimitAccess /Source:X:\sources\sxs

To install PowerShell run below command:

Dism /Online /Enable-Feature /FeatureName:MicrosoftWindowsPowerShell /All

Leave a Reply