You can modify the security policy of a port group to enable promiscuous mode, which allows monitoring of the traffic generated by virtual machines.

Verify that you are connected to a vCenter Server system.


Get the current security policy of the port group.

$policy = Get-VDSecurityPolicy -VDPortGroup $myVDPortGroup

Enable promiscuous mode for the port group.

Set-VDSecurityPolicy $policy -AllowPromiscuous $true