Set the Connect-SQL default timeouts? #2003
Unanswered
RandyInMarin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to set or override the 600 second default timeouts used Connect-SQL? In our environment, a 5-10 second connection timeout is more than enough to know if it's online. I'm building a script that iterates instances and invokes dsc resources for each. I have some instances that can be offline temporarily. I have to manually include or skip them or endure a 600 second delay. I might have to port test each instance before invoking the resource. It does seem like a custom connect timeout could be a feature in the module.
Beta Was this translation helpful? Give feedback.
All reactions