Configuring the host firewall
A host firewall is a VMware vSphere feature to protect the host against attacks. The host firewall allows or blocks traffic to and from specific host services. You can use PowerCLI to configure the host firewall.
To get a list of all of the PowerCLI cmdlets that you can use to configure a host firewall, type:
PowerCLI C:\> Get-Command -Noun VMHostFirewall* CommandType Name ----------- ---- Cmdlet Get-VMHostFirewallDefaultPolicy Cmdlet Get-VMHostFirewallException Cmdlet Set-VMHostFirewallDefaultPolicy Cmdlet Set-VMHostFirewallException
Getting the host firewall default policy
To get the host firewall default policy of a host, you have to use the Get-VMHostFirewallDefaultPolicy
cmdlet.
The syntax of the Get-VMHostFirewallDefaultPolicy ...
Get Learning PowerCLI now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.