Windows Server: Activate PowerShell
To activate powershell in Windows 2008 R2 use the following commands:
C:\>DISM /Online /Enable-Feature /FeatureName:NetFx2-ServerCore
C:\>DISM /Online /Enable-Feature /FeatureName:MicrosoftWindowsPowerShell
C:\>DISM /online /enable-feature /featurename=ServerManager-PSH-Cmdlets
C:\>DISM /online /enable-feature /featurename=BestPractices-PSH-Cmdlets
C:\>DISM /Online /Enable-Feature /FeatureName:MicrosoftWindowsPowerShell
C:\>DISM /online /enable-feature /featurename=ServerManager-PSH-Cmdlets
C:\>DISM /online /enable-feature /featurename=BestPractices-PSH-Cmdlets
Run it from:
C:\Windows\system32\WindowsPowerShell



March 2, 2011 

No comments yet... Be the first to leave a reply!