How to install Windows PowerShell on a computer that is running Windows Server 2008 R2 Core

Article translations Article translations
Article ID: 976736 - View products that this article applies to.
Expand all | Collapse all

On This Page

INTRODUCTION

Windows PowerShell is a task-based command-line shell and is a scripting language that is specially designed for system administration. It is built on Microsoft .NET Framework. Windows PowerShell helps you control and automate the administration of the Windows operating system and of the applications that run on Windows.

MORE INFORMATION

By default, Windows PowerShell is not installed on a computer that is running Windows Server 2008 R2 Core. You can use the following methods to install Windows PowerShell on a computer that is running Windows Server 2008 R2 Core.

Method 1

  1. Run SCONFIG.
  2. Select option 4 (Configure Remote Management).
  3. Select option 2 (Enable Windows PowerShell).
  4. Click OK.

Method 2



Install the following features:
  • NetFx2-ServerCore
  • NetFx3-ServerCore
  • NetFx2-ServerCore-WOW64
  • NetFx3-ServerCore-WOW64
  • MicrosoftWindowsPowerShell
  • MicrosoftWindowsPowerShell-WOW64
The following are examples of the commands that install these features:
  • DISM.exe /online /enable-feature /featurename:NetFx2-ServerCore
  • DISM.exe /online /enable-feature /featurename:NetFx3-ServerCore
  • DISM.exe /online /enable-feature /featurename:NetFx2-ServerCore-WOW64
  • DISM.exe /online /enable-feature /featurename:NetFx3-ServerCore-WOW64
  • DISM.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell
  • DISM.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell-WOW64
Note Because Windows PowerShell is built on Microsoft .NET Framework, Microsoft .Net Framework must be installed correctly first for a successful Windows PowerShell installation.

Properties

Article ID: 976736 - Last Review: February 16, 2011 - Revision: 1.2
APPLIES TO
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Service Pack 1
Keywords: 
kbexpertiseadvanced kbhowto kbsurveynew KB976736

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com