Trying to figure out how to get common configurations (product installed and version) for a dataset of machines.
The data is structured like this:
Device Name Product Name Product Version OS
Computer 1 Visio 16.0.11929 Windows 10
Computer 2 Visio 16.0.11929 Windows 10
Computer 3 Visio 16.0.11000 Windows 7
Computer 4 Visio 16.0.11929 Windows 7
Computer 5 Visio 16.0.11000 Windows 10
Computer 1 PowerBI 2.72.5556 Windows 10
Computer 2 PowerBI 2.72.5556 Windows 10
Computer 5 PowerBI 2.72.5556 Windows 10
Computer 1 WebEx 40.1.8.5 Windows 10
Computer 2 WebEx 40.1.8.5 Windows 10
Computer 3 WebEx 38.1.6.3 Windows 7
Computer 5 WebEx 40.1.8.5 Windows 10
Trying to get an output like this:
Count OS Product Name Product Version
2 Windows 10 Visio 16.0.11929
PowerBI 2.72.5556
WebEx 40.1.8.5
1 Windows 7 Visio 16.0.11000
WebEx 38.1.6.3
1 Windows 7 Visio 16.0.11929
1 Windows 10 Visio 16.0.11000
PowerBI 2.72.5556
WebEx 40.1.8.5
I thought I could use something like this but, its not grouping the correct way:
group-object -property 'Product Name', 'Product Version', OS