Pages

Thursday 14 October 2010

How to enable PowerShell in Server Core 2008 R2

This is a bit of departure from my normal Exchange 2010 posts but I've been playing around with Server Core on Server 2008 R2. I thought it would be a good idea to provide details on how to install powershell on Server Core.

  • start /w ocsetup NetFx2-ServerCore
  • start /w ocsetup MicrosoftWindowsPowerShell
  • To run it just cd to c:\windows\system32\WindowsPowerShell\v1.0 and typed powershell
Once you reboot the system, the PowerShell directory will be placed in the search path and you can just type powershell in any directory to access the PowerShell command prompt.


No comments:

Post a Comment