Automation

 View Only
  • 1.  Modify Firewall rules

    Posted Sep 25, 2017 01:11 PM

    Hi,

    i want to edit my firewall rules with powercli. This code snippet only enable the rule. My goal is to add more ips to my existing rule.

    Maybe some has got an example, it could help.

    <Code>

    Get-VMHost -Name "vhost" | Get-VMHostFirewallException | Where-Object{$_.Name -eq "NFS Client"} | Set-VMHostFirewallException -Enabled $true

    </code>



  • 2.  RE: Modify Firewall rules

    Posted Sep 25, 2017 01:18 PM