Table of Contents

Class WindowsPowerShellSettings

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the Windows PowerShell configuration.

public class WindowsPowerShellSettings : BypassSection
Inheritance
WindowsPowerShellSettings
Inherited Members

Constructors

WindowsPowerShellSettings()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsPowerShellSettings class.

public WindowsPowerShellSettings()

Properties

CompatibleVersions

Gets or sets the previous PowerShell versions that this version is compatible with.

public SerializableStringCollection CompatibleVersions { get; set; }

Property Value

SerializableStringCollection

IsInstalled

Gets or sets whether PowerShell is installed on the machine.

public BooleanOption IsInstalled { get; set; }

Property Value

BooleanOption

MachineExecutionPolicy

Gets or sets the machine level execution policy.

public WindowsPowerShellExecutionPolicy MachineExecutionPolicy { get; set; }

Property Value

WindowsPowerShellExecutionPolicy

MachineExecutionPolicySource

Gets or sets the configuration source for the machine execution policy.

public PolicyConfigurableSourceType MachineExecutionPolicySource { get; set; }

Property Value

PolicyConfigurableSourceType

MachineExecutionPolicySourceString

Gets he configuration source for the machine execution policy as a human readable string.

public string MachineExecutionPolicySourceString { get; set; }

Property Value

string

MachineExecutionPolicyString

Gets the machine level execution policy.

public string MachineExecutionPolicyString { get; set; }

Property Value

string

RuntimeVersion

Gets or sets the version of the common language runtime used by PowerShell - for example "v2.0.50727".

public string RuntimeVersion { get; set; }

Property Value

string

Security

Gets or sets the security assigned to PowerShell remoting.

public WindowsGenericSecurityDescriptor Security { get; set; }

Property Value

WindowsGenericSecurityDescriptor

Version

Gets or sets the version of PowerShell installed.

public SerializableVersion Version { get; set; }

Property Value

SerializableVersion

VersionString

Gets the display name of the PowerShell version - for example "1.0".

public string VersionString { get; set; }

Property Value

string

Methods

ToString()

Returns the version of this WindowsPowerShellSettings object as a human readable string.

public override string ToString()

Returns

string

A System.String value.