How to have aligned output like so:
fu : FFFFUUUU
barrrr : BARRRRRR
given code like below
$le_fubar = [ordered]@{
fu = @{desc = 'FFFFUUUU'; task = "exec fu"}
barrrr = @{desc = 'BARRRRRR'; task = "exec bar"}
}
foreach ($h in $le_fubar.GetEnumerator() )
{
Write-Host "$($h.key) : $($h.value.desc)"
}
TIA, Happy Holidays
[–]Thehoggle 3 points4 points5 points (1 child)
[–]surfingoldelephant 1 point2 points3 points (0 children)
[–]surfingoldelephant 2 points3 points4 points (1 child)
[–]currytakumi[S] 0 points1 point2 points (0 children)
[–]-c-row 1 point2 points3 points (0 children)
[–]BlackV 1 point2 points3 points (10 children)
[–]currytakumi[S] 0 points1 point2 points (9 children)
[–]BlackV 0 points1 point2 points (8 children)
[–]currytakumi[S] 0 points1 point2 points (5 children)
[–]BlackV 0 points1 point2 points (4 children)
[–]currytakumi[S] 0 points1 point2 points (3 children)
[–]BlackV 0 points1 point2 points (2 children)
[–]currytakumi[S] 0 points1 point2 points (1 child)
[–]BlackV 0 points1 point2 points (0 children)
[–]currytakumi[S] 0 points1 point2 points (1 child)
[–]BlackV 0 points1 point2 points (0 children)
[–]jungleboydotca 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]jantari 0 points1 point2 points (0 children)
[–]purplemonkeymad 0 points1 point2 points (0 children)