Forum Discussion

Jørn_Hopland_46's avatar
Jørn_Hopland_46
Icon for Nimbostratus rankNimbostratus
Nov 29, 2007

Powershell cmdlet get-f5.ltmpoolmember

Hi,

 

 

Having a problem using the cmdlet get-f5.ltmpoolmember.

 

Scenario :

 

Having a server called "sftp", which originally ran, yes, a sftp server, and the pool was calles "pool_sftp"

 

Now I have put some more services on that server, so now I have some additional pools. Now :

 

"pool_sftp"

 

"pool_sftp_3389"

 

"pool_sftp_80"

 

 

get-f5.ltmpoolmember pool_sftp_3389 and get-f5.ltmpoolmember pool_sftp_80 returns nodes as expected, but get-f5.ltmpoolmember pool_sftp returns all the nodes in the above mentioned pools.

 

Just thinking it is a bug worth mentioning.

 

 

Keep up the good work !

 

 

Best Regards

 

Jørn N. Hopland

1 Reply

  • Good catch. I'm doing a regular expression comparison on the input value for the pool, matching it to the list of returned pools. For some reason, the regular expression of pool_sftp is matching pool_sftp_xxx. I thought you needed a asterisk to match trailing characters. I'll take a look and see if I can find a workaround.

     

     

    -Joe