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
MachineExecutionPolicy
Gets or sets the machine level execution policy.
public WindowsPowerShellExecutionPolicy MachineExecutionPolicy { get; set; }
Property Value
MachineExecutionPolicySource
Gets or sets the configuration source for the machine execution policy.
public PolicyConfigurableSourceType MachineExecutionPolicySource { get; set; }
Property Value
MachineExecutionPolicySourceString
Gets he configuration source for the machine execution policy as a human readable string.
public string MachineExecutionPolicySourceString { get; set; }
Property Value
MachineExecutionPolicyString
Gets the machine level execution policy.
public string MachineExecutionPolicyString { get; set; }
Property Value
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
Security
Gets or sets the security assigned to PowerShell remoting.
public WindowsGenericSecurityDescriptor Security { get; set; }
Property Value
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
Methods
ToString()
Returns the version of this WindowsPowerShellSettings object as a human readable string.
public override string ToString()
Returns
- string
A System.String value.