This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Add-NsxLoadBalancerPoolMember Problem #575
Comments
Hi, i look like a bug... On line 31096 of PowerNSX.psm1 Add-XmlElement -xmlRoot $xmlMember -xmlElementName "monitorPort" -xmlElementText $port should be Add-XmlElement -xmlRoot $xmlMember -xmlElementName "monitorPort" -xmlElementText $monitorport |
So I altered the .PSM1 file. I found the bad line and it still doesn't work? I have never done this so I am not sure if there is something else I have to do? I reloaded the ISE and the modules were reloaded. |
I will push a fix soon You need to may be force reload of module Import-Module PowerNSX -force |
alagoutte
added a commit
to alagoutte/powernsx
that referenced
this issue
May 2, 2019
dcoghlan
added a commit
that referenced
this issue
May 3, 2019
Add-NsxLoadBalancerPoolMember: Fix wrong variable name for monitorPort Fixes #575
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I am trying to automate a NSX LoadBalancer Pool Member add and I am using the following commandlet:
get-nsxedge TEST-LB | Get-NsxLoadBalancer | Get-NsxLoadBalancerPool -name SYSLOG | Add-NsxLoadBalancerPoolMember -Name NODE-1-5-914 -IpAddress 9.9.9.9 -Weight 1 -MonitorPort 9001 -Port 514
Everything works except for the -Monitor Port. It is not putting 9001 it is putting 514.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: