alanrenouf / vCheck-vSphere

vCheck Daily Report for vSphere
MIT License
733 stars 325 forks source link

sendmail timeout with Powercli 12.3.0.17860403 #740

Open jrr001 opened 2 years ago

jrr001 commented 2 years ago

After upgrading Powercli from 12.2.0.17538434 to current release 12.3.0.17860403 my sendmail of the vSphere vCheck started timing out. This happens from cmd line run or scheduled task run.

I eventually removed 12.3.0.17860403 and went back to 12.2.0.17538434 and sendmail works. Below was the error:

[14:06:04] ..start calculating Disconnecting from vCenter by Alan Renouf v1.1 [3 of 3] [14:06:04] ..finished calculating Disconnecting from vCenter by Alan Renouf v1.1 [3 of 3] [14:06:04] ..Sending Email Exception calling "Send" with "1" argument(s): "The operation has timed out." At C:\win8vcheck6\vCheck.ps1:1052 char:3