NewPSSessionOptionCommand.OpenTimeout Property

Definition

The duration for which PowerShell remoting waits (in milliseconds) before timing out on a connection to a remote machine. Simply put, the timeout for a remote runspace creation.

The user would like to tweak this timeout depending on whether he/she is connecting to a machine in the data center or across a slow WAN.

public:
 property int OpenTimeout { int get(); void set(int value); };
public:
 property int OpenTimeout { int get(); void set(int value); };
public int OpenTimeout { get; set; }
member this.OpenTimeout : int with get, set
Public Property OpenTimeout As Integer

Property Value

Applies to