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

From VI-Toolkit
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Disabling Netflow with PowerCLI

author: Alan Renouf

Description

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.

Usage

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

Location

http://www.virtu-al.net/2013/07/23/disabling-netflow-with-powercli/