Recently I’ve run into a Powershell script problem on a Windows Server 2008 R2 box. Typically I’d use ISE to debug, however, this box didn’t have it for some reason. The instructions on Shay Levy’s blog also apply to 2008 R2 systems.
In short that’s:
Import-Module ServerManager Add-WindowsFeature Powershell-ISE