I’m running a command and I want to force the output into a format I can work with, currently I have
select -expandproperty resultitemssize
14.37 KB [14,718 bytes] 0 B [0 bytes] 0 B [0 bytes]
ResultItemsSize 14.37 KB [14,718 bytes] 0 B [0 bytes] 0 B [0 bytes]
Now the formatting when you want to count the total won’t work, as it just counts the entries, is there something in the pipe I can use for formatting, maybe force the output to bytes and then measure it taking out the B [0 bytes]?