This is achieved by adding a TimeoutSec parameter to Get-ServiceNowRecord that is passed into Invoke-ServiceNowRestMethod and into the underlying webrequest.
The parameter respects the Powershell Default of 0 for an indefinite timeout, therefore this makes no change in default functionality, and only applies if the parameter is defined.
This PR is to implement #246
This is achieved by adding a TimeoutSec parameter to Get-ServiceNowRecord that is passed into Invoke-ServiceNowRestMethod and into the underlying webrequest.
The parameter respects the Powershell Default of 0 for an indefinite timeout, therefore this makes no change in default functionality, and only applies if the parameter is defined.