Joining formatted lists
I am trying to join two formatted lists of information:
Get-WmiObject -class Win32_OperatingSystem | Format-List Caption
Get-WmiObject -class Win32_Processor | Format-wide
Name,Manufacturer,MaxClockSpeed
When I use these two commands I get the following output (Whitespace
included):
Caption : Microsoft Windows 8 Pro
Name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
Manufacturer : GenuineIntel
MaxClockSpeed : 2201
Is there any easy way to join these two lists, thus reducing the
whitespace and getting somewhat the same spacing between the colon and the
strings?
No comments:
Post a Comment