PowerCLI: Disable Netflow for a VDPortgroup or a number of VDPortGroups

From VI-Toolkit
Jump to navigation Jump to search

Disabling Netflow with PowerCLI

author: Alan Renouf


Alan here wrote a script to disable Netflow on a VDPortgroup or a number of VDPortgroups

This may help with a known issue on ESXi 5.1 when Netflow is enabled: http://kb.vmware.com/kb/2042370

He then shows how-to list all VDPortGroups and if Netflow is enabled for those port groups.


# Disable Netfow for a VDPortgroup
Get-VDPortgroup DPortGroup | Disable-PGNetflow