Syntax
Get-VMHostFirewallDefaultPolicy [-VMHost] <VMHost[]> [[-Server] <VIServer[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves the firewall default policy of the specified hosts. The firewall policy determines whether the outgoing and incoming connections are allowed.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
VMHost | VMHost[] | Specifies the hosts whose firewall default policy you want to retrieve. | true | true (ByValue) | |
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | false |
Return Type
Zero or more VMHostFirewallDefaultPolicy objectsNotes
Firewall management functionality is not supported on ESX 3i.Examples
-------------- Example 1 --------------
Get-VMHostFirewallDefaultPolicy -VMHost 10.23.123.100
Retrieves the default firewall policy of the virtual machine host with an IP address 10.23.123.100.