Information
Minimize access to the Virtual Machine via VNC protocol.
*Rationale*
The VM console enables you to connect to the console of a virtual machine, in effect seeing
what a monitor on a physical server would show. This console is also available via the VNC
protocol. Setting up this access also involves setting up firewall rules on each ESXi server
the virtual machine will run on.
Solution
To implement the recommended configuration state, run the following PowerCLI
command-# Add the setting to all VMs
Get-VM | New-AdvancedSetting -Name 'RemoteDisplay.vnc.enabled' -value $false
Impact-Configuring VM settings and opening up the firewall means multiple steps to be configured
and monitored.