powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-VMHostFirewallDefaultPolicy



NAME
Get-VMHostFirewallDefaultPolicy

SYNOPSIS
Retrieves the firewall default policy of the specified hosts.

SYNTAX
Get-VMHostFirewallDefaultPolicy [-VMHost] [[-Server] ] []


DESCRIPTION
Retrieves the firewall default policy of the specified hosts. The firewall policy determines whether the outgoing a
nd incoming connections are allowed.


PARAMETERS
-VMHost
Specify the hosts whose firewall default policy you want to retrieve.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-Server
Specifies a vSphere server to search for the specified vSphere .NET object. If no value is given to this parame
ter, the command runs on the server currently specified in the $DefaultVIServer variable.

Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? true


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
VMHostFirewallDefaultPolicy


NOTES


Firewall management functionality is not supported on ESX 3i.

-------------- Example 1 --------------

C:\PS>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.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-VMHostFirewallDefaultPolicy.h
tml
Set-VMHostFirewallDefaultPolicy