That's much better, but the Manufacturer information is repeated a lot, and it
takes up a lot of space on the screen. If we're careful about the order the data
goes in, we can improve the appearance of the output by using the -GroupByProperty parameter.
It's very important to sort before you pipe into grouped views.
GroupBy will add a header to all items from the object pipeline that have the same property.
Whenever a new value for that property is encountered, a new header will be added. This means
that if you output a bunch of objects by a grouping that comes out of order, you will see
a lot of groups. Let's the difference by showing the same data without sorting.
The only unfortunate thing about this view is that both the deviceID and the name are
very long. It would be better to show them in a list instead. Luckily, Write-FormatView
has the -AsList switch, which does just that.