Open MarcelMertens opened 6 years ago
Hi Marcel,
Yes, there is not (yet) cmdlet for update a Firewall Rule There is a PR (#506) waiting for modified some Firewall Rule but not Applied To
I think, you can try to use it like : $rule = Get-NsxFirewallRule -Ruleid 1007 $rule.appliedToList.appliedTo = ... <- need to add your AppliedTo (May need to use some internal function like New-NsxAppliedToListNode)
and after update rule $rule | Set-NsxFirewallRule
Set-NsxFirewallRule
don't have that... ??
You need to look PR #506
hi @MarcelMertens
Set-NsxFirewallRule is now available with build 1125
Hello, i'm looking for a way to update existing firewall rules which are applied to a selection of Edge Gateways. I'd like to add more Edge Gateways to the "Applied To" section of the existing rule, but AFAIK there is no cmd avaiable for this. "Add-NsxFireRuleMember" only supports Source/Destination.
Kind regards,
Marcel