共用方式為


PSSessionOption.SkipCACheck Property

Definition

When connecting over HTTPS, the client does not validate that the server certificate is signed by a trusted certificate authority (CA). Use only when the remote computer is trusted by other means, for example, if the remote computer is part of a network that is physically secure and isolated or the remote computer is listed as a trusted host in WinRM configuration.

public:
 property bool SkipCACheck { bool get(); void set(bool value); };
public:
 property bool SkipCACheck { bool get(); void set(bool value); };
public bool SkipCACheck { get; set; }
member this.SkipCACheck : bool with get, set
Public Property SkipCACheck As Boolean

Property Value

Applies to