vmware-archive / powernsx

PowerShell module that abstracts the VMware NSX-v API to a set of easily used PowerShell functions
173 stars 90 forks source link

Bug Get-NsxFirewallRuleMember #655

Open jiritm opened 3 years ago

jiritm commented 3 years ago

Hi, please check Get-NsxFirewallRuleMember - whether for comparison you want to use -match. At least if $_Member -is [system.xml.xmlelement] it seems you should compare using -eq, since you compare object IDs. As an example: -match will result in ID SecurityGroup-11 matching to ID SecurityGroup-110.