Hello,
I have the following code:
$array3 = Get-VM | Get-View | ForEach-Object { $_.Guest.Net } | select Network
but it breaks here:
$Sheet.Cells.Item($intRow,$intColumn) = $array3[$i]
Exception setting "Item": "Exception from HRESULT: 0x800A03EC"
At C:\scripts\VMware\HealthCheck_vCenter2_xls.ps1:498 char:19
+ $Sheet.Cells.Item <<<< ($intRow,$intColumn) = $array3[$i]
+ CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
+ FullyQualifiedErrorId : CatchFromBaseAdapterParameterizedPropertySetValueTI
Thanks for your help.