What version of PowerShell comes with Windows 7?

I am attempting to create a solution to launch remote processes in an environment which is very stable, and I know the user base will have Windows 7 - most will have no updates to it though.

Remote SSIS Package Execution with PowerShell 2.0 says that Windows 7 comes with PowerShell 2.0 and would therefore be capable of the remote execution, but I seem to remember having to upgrade my machine to PowerShell 2. I am currently on v3 of PowerShell and don't have access to the machines on which the script would need to run.

What version of PowerShell comes with Windows 7 out of the box?

9

1 Answer

I recently installed Windows 7 on a fresh system, and running get-host in PowerShell tells me I'm running version 2.0, even though it's installed in the v1.0 folder.

Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\user> get-host
Name : ConsoleHost
Version : 2.0
InstanceId : 61ef8a3b-0212-4743-87a1-eb2c00fb1e29
UI : System.Management.Automation.Internal.Host.InternalHostUserI nterface
CurrentCulture : en-US
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like