Hi All,
thanks for all your help, I got a bit further Image may be NSFW.
Clik here to view.
Now I'm having the problem that I can't get any useful data out of my array^^
I use this command to fill the associative array ergs, but later I can't get any data out of it:
$ergs=(Get-Pool | Select Pool_id,@{N="desktops";E={$_ | Get-DesktopVM | Measure-Object | Select -ExpandProperty Count}},maximumcount | Format-Table -AutoSize -HideTableHeaders)
Similar if I use $ergs["VALUE"] or echo $ergs["VALUE"] or $ergs[VALUE] or $ergs['VALUE'] result is empty.
If I just use echo $ergs i can see the set Values.
Any suggestions on this?
thx
cr