I have this script
https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Get-HBAs-amp-NIC-details-along-with-cl...
that retreive informations for NICs, I'm asking if we can add a check based on the vSAN HCL provided by vmware on this link https://partnerweb.vmware.com/service/vsan/all.json
Place a Write-Host inside the Catch block
Catch {
Write-Host $global:esxcli
Write-Host $global:vmhbald
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Write-Host $global:esxcli Write-Host $global:vmhbald
So there is no output from either of these Write-Host lines?
To make sure add some extra characters
Write-Host "|$($global:esxcli)|"
Write-Host "|$($global:vmhbald)|"
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
No output
I added a debug option on the top of the script and I got error messagerelated to this line
Write-Host "|$($global:esxcli)|" Write-Host "|$($global:vmhbald)|"
But you should see those 2 vertical bars on the console
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
trust me always some rror message
did you get any chance to find what's wrong?
No , I can't replicate what you are seeing.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
