VMware PowerCli Script to set Firewall Exceptions for Specific Service on ESX host

Following Script will add an exception rule in the firewall for the NTP Client on ESX01
————————————-

Connect-VIServer VISRV

Get-VmhostFirewallException -VMHost ESX01 -Name “NTP Client” | Set-VMHostFirewallException -enabled:$true

Leave a Reply

Your email address will not be published. Required fields are marked *