We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new tab for Logical Switch (VXlan) in NSX Routing excel.
$vxlan = 0 $VMs = Get-VM | Select Name, @{N="PortGroups";E={Get-VirtualPortGroup -VM $_ | %{$_.Name}}} $PGs = $VMs | %{$_.PortGroups} | Select -Unique $myCol = @() ForEach ($PG in $PGs) { $myObj = "" | Select PGName, NumVMs $myObj.PGName = $PG $myObj.NumVMs = ($VMs | Where {$_.PortGroups -contains $PG} | Measure-Object).Count $myCol += $myObj } #$myCol | Sort NumVMs -Descending | Format-Table -AutoSize $myCol | %{if ($_.PGName.StartsWith("vxw-dvs")){ $_ $VXlan ++}} Write-Host "`nTotal number of VxLAN are: $vxlan"
The text was updated successfully, but these errors were encountered:
vmnomad
No branches or pull requests
Add new tab for Logical Switch (VXlan) in NSX Routing excel.
The text was updated successfully, but these errors were encountered: