Forum Discussion
mealies_60121
Nimbostratus
May 17, 2010Grabbing user stats using iControl/Powershell
Hi Guys
I need some help returning the following data using iControl and Powershell, i have only just started using iControl and i am learning powershell as i go so this may be a basic question.
Using Powershell, I am trying to collect some stats from a custom stats profile. Below is what i have manged so far. I am just stuck on how to get the individual field names and values. Using the following code:-
$stats = (Get-F5.iControl).localLBprofileUserStatistic.get_statistics("stats_blocked_pv");
$blockpv = $SystemStatistics.statistics
$blockpv
generates this output:-
profile_name statistics
------------ ----------
stats_blocked_pv {USER_STATISTIC_1, USER_STATISTIC_2, USER_STATISTIC_3,
How do I retrieve the individual statistic field names and values from this?
Thanks
Andrew
No RepliesBe the first to reply
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects