Записи с метками ‘powershell’

Как узнать версию powershell

Четверг, 12 декабря 2013


PS > Get-Host
Name : ConsoleHost
Version : 2.0
InstanceId : b869118a-a159-45b0-a85f-d91cc48fa5a9
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : ru-RU
CurrentUICulture : ru-RU
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace

После установки PS3:

PS > Get-Host
Name : ConsoleHost
Version : 3.0
InstanceId : 6b33341e-ea9e-4735-bab8-6e0f16202f4b
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : ru-RU
CurrentUICulture : ru-RU
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace

PowerShell 3 скачать

Воскресенье, 1 декабря 2013

To install Windows PowerShell 3.0 (Windows 7 & Windows Server 2008 R2)

  1. Install the full installation of Microsoft .NET Framework 4.0 (dotNetFx40_Full_setup.exe) from the Microsoft Download Center at http://go.microsoft.com/fwlink/?LinkID=212547.Or, install Microsoft .NET Framework 4.5 (dotNetFx45_Full_setup.exe) from the Microsoft Download Center at http://go.microsoft.com/fwlink/?LinkID=242919.
  2. Install Windows Management Framework 3.0 from the Microsoft Download Center at http://go.microsoft.com/fwlink/?LinkID=240290.

Источник: Installing Windows PowerShell.