PSSessionOption.IdleTimeout 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 a Runspace on server needs to wait before it declares the client dead and closes itself down. This is especially important as these values may have to be configured differently for enterprise administration and exchange scenarios.
Default: -1 -> Use current server value for IdleTimeout.
public:
property TimeSpan IdleTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan IdleTimeout { get; set; }
member this.IdleTimeout : TimeSpan with get, set
Public Property IdleTimeout As TimeSpan