I am using Windows PowerShell 1.0 in Windows Server 2008 R2. I have tried PowerShell 3.0 in Windows 8 and it looks good to me.
Now the question is: How I can upgrade PowerShell on the Windows Server 2008 R2 machine? If 3.0 is not available for me, then is there any way to upgrade to the latest available version?
Name : ConsoleHost
Version : 2.0
InstanceId : f0b6480c-be55-429d-a197-65604de5887e
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : en-US
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
Best Answer
That's impossible. Windows PowerShell 2.0 is included in Windows Server 2008 R2. You cannot install Windows PowerShell 1.0 in 2008 R2 in any supported fashion.
To verify the version of PowerShell you're running, simply echo the
$host
variable.