PSSessionOption.OpenTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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