WSManConnectionInfo.EnableNetworkAccess Property

Definition

When true and in loopback scenario (localhost) this enables creation of WSMan host process with the user interactive token, allowing PowerShell script network access, i.e., allows going off box. When this property is true and a PSSession is disconnected, reconnection is allowed only if reconnecting from a PowerShell session on the same box.

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

Property Value

Applies to