Share via


ImportModuleCommand.UseWindowsPowerShell Property

Definition

This parameter causes a module to be loaded into Windows PowerShell. This is mutually exclusive with SkipEditionCheck parameter.

[System.Management.Automation.Alias(new System.String[] { "UseWinPS" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FullyQualifiedNameAndWinCompat")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="WinCompat")]
public System.Management.Automation.SwitchParameter UseWindowsPowerShell { get; set; }
[<System.Management.Automation.Alias(new System.String[] { "UseWinPS" })>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FullyQualifiedNameAndWinCompat")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="WinCompat")>]
member this.UseWindowsPowerShell : System.Management.Automation.SwitchParameter with get, set
Public Property UseWindowsPowerShell As SwitchParameter

Property Value

Attributes

Applies to