Partager via


PSSessionOption.OpenTimeout Property

Definition

The duration for which PowerShell remoting waits 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.

Default: 3 * 60 * 1000 = 3 minutes.

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

Property Value

Applies to