Forum Discussion

wallst32_178793's avatar
wallst32_178793
Icon for Nimbostratus rankNimbostratus
Apr 22, 2015

iControl datagroup list - how to show string record value?

I'm trying to use F5 PowerShell iControl to get the values of a string datagroup list. Following the steps here https://devcentral.f5.com/articles/icontrol-101-13-data-groups I'm able to get the datagroup list name and the record names (members). But the value for each member is not displayed. How can I get them?

 

Example this command:

 

(Get-F5.iControl).LocalLBClass.get_string_class("MyDG")

 

Provides this output:

 

name members

 

MyDG {StringA, StringB, StringC}

 

But what I want is the values for each member:

 

StringA = SomeValueA

 

StringA = SomeValueB

 

StringA = SomeValueC