다음을 통해 공유


NewPSSessionOptionCommand.SkipCNCheck Property

Definition

The following is the definition of the input parameter "SkipCNCheck". Indicates that certificate common name (CN) of the server need not match the hostname of the server. Used only in remote operations using https. This option should only be used for trusted machines.

public:
 property System::Management::Automation::SwitchParameter SkipCNCheck { System::Management::Automation::SwitchParameter get(); void set(System::Management::Automation::SwitchParameter value); };
public System.Management.Automation.SwitchParameter SkipCNCheck { get; set; }
[System.Management.Automation.Parameter]
public System.Management.Automation.SwitchParameter SkipCNCheck { get; set; }
member this.SkipCNCheck : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Parameter>]
member this.SkipCNCheck : System.Management.Automation.SwitchParameter with get, set
Public Property SkipCNCheck As SwitchParameter

Property Value

Attributes

Applies to