alanrenouf / vCheck-vSphere

vCheck Daily Report for vSphere
MIT License
732 stars 326 forks source link

74 Host - Network Redundancy lost - obsolete command #745

Open hbstreve opened 2 years ago

hbstreve commented 2 years ago

Running the main vCheck, watching the output, I came across this warning

image

Appears it needs to be updated with the newer Get-VDSwitch command

rebelinux commented 1 year ago

Fix it by adding -Standard to the to the Get-VirtualSwitch cmdlet

PS C:\Users\jocolon\vCheck-vSphere> .\vCheck.ps1
WARNING:
Begin Plugin Processing
[18:05:54] ..start calculating Connection settings for vCenter by Alan Renouf v1.20 [1 of 3]
[18:06:02] ..finished calculating Connection settings for vCenter by Alan Renouf v1.20 [1 of 3]
[18:06:02] ..start calculating General Information by Alan Renouf, Frederic Martin v1.3 [2 of 3]
[18:06:23] ..finished calculating General Information by Alan Renouf, Frederic Martin v1.3 [2 of 3]
[18:06:23] ..start calculating Network redundancy lost by Olivier TABUT v1.4 [3 of 3]
[18:06:24] ..finished calculating Network redundancy lost by Olivier TABUT v1.4 [3 of 3]
[18:06:24] ..Displaying HTML results
PS C:\Users\jocolon\vCheck-vSphere>

Tested in my homelab:

NetworkHostRedundancy