C# Class NuGetConsole.Host.PowerShellProvider.RegistryHelper

Mostra file Open project: xero-github/Nuget

Public Methods

Method Description
CheckIfPowerShell2Installed ( ) : bool

Detects if PowerShell 2.0 runtime is installed.

Detection logic is obtained from here: http://blogs.msdn.com/b/powershell/archive/2009/06/25/detection-logic-poweshell-installation.aspx

Method Details

CheckIfPowerShell2Installed() public static method

Detects if PowerShell 2.0 runtime is installed.
Detection logic is obtained from here: http://blogs.msdn.com/b/powershell/archive/2009/06/25/detection-logic-poweshell-installation.aspx
public static CheckIfPowerShell2Installed ( ) : bool
return bool