vDocumentation provides a community-created set of PowerCLI scripts that produce infrastructure documentation of vSphere environments in CSV or Excel file format.
Hi rgb99, could you please update to latest version 2.4.6 and run the Cmdlet with -verbose against the 4 failing hosts, that may give us better information.
Out of 38 hosts checked against Get-ESXSpeculativeExecution, four returned an error, shown below:
Nothing was missing or strange from the Excel file other than a blank 'Last patched' field on the first host.