never-displayed
View discussion in a popup
I see.
In that case try replacing the Get-VDSwitch cmdlet by
Get-VirtualSwitch -Distributed
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference