Forum Discussion
sumabisw
Aug 24, 2022Copper Contributor
PowerShell Remote session getting disconnected with below error in every 150sec to 180 sec.
Starting a command on the remote server failed with the following error message : The I/O operation has been aborted because of either a thread exit or an application request. For more information,...
sumabisw
Aug 24, 2022Copper Contributor
Hi Robertson.
I run your command and found the below details :
I am not sure but look like this time need to update as unlimited , Please suggest..
LainRobertson
Aug 24, 2022Silver Contributor
No, that shows a value of 180,000, which is 180,000 milliseconds, 180 seconds, or, in other words, three minutes.
Since three minutes is the default setting, this makes sense.
You might want to try the command I listed earlier to set the OperationTimeout to a value of 0, as 0 allows your client to wait indefinitely.
Cheers,
Lain
- sumabiswAug 24, 2022Copper Contributor
- LainRobertsonAug 24, 2022Silver Contributor
Fair enough.
Assuming this is indeed in relation to the Exchange Online V2 module then that's all I could think of.
Cheers,
Lain
- sumabiswAug 24, 2022Copper Contributor