Instalei recentemente o Windows 7 em um sistema novo, e a execução de get-host
no PowerShell indica que estou executando a versão 2.0, embora esteja instalada na pasta v1.0.
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