PowershellSettingsExtensions.

SetTimeout(PowershellSettings, int) Method

Summary

Sets the optional timeout for powershell command

Syntax

public static PowershellSettings SetTimeout(this PowershellSettings settings, int timeout)

Parameters

Name Type Description
settings PowershellSettings The powershell settings.
timeout int The timeout duration

Return Value

Type Description
PowershellSettings The same PowershellSettings instance so that multiple calls can be chained.