joel74 / POSH-F5-BIGIP

A set of PowerShell modules for working with F5 BIGIP devices using the iControlREST API
14 stars 8 forks source link

Cannot add pool member in offline state #5

Closed spuder closed 6 years ago

spuder commented 6 years ago

F5 pool member states can be 'enabled', 'disabled', or 'forced offline'. This powershell module only lets you set state to either 'enabled' or 'disabled'

https://github.com/joel74/POSH-F5-BIGIP/blob/master/F5-BIGIP/F5-LTM/Public/Add-PoolMember.ps1#L36-L37

The old iControl powershell module let you set the state to be 'enabled', 'disabled' or 'offline'

  Set-F5.LTMPoolMemberState -State 'offline'

It would be nice to be able to set the state to all 3 possible states including 'forced offline'

joel74 commented 6 years ago

Please see the note in #7 that clarifies how to set a pool member as forced offline. Thanks.