I have couple of remote devices, where in i need to compare the add remove programs the devices using powershell. how can i do it. Can anyone help me.
Example:-
Need to compare appremove programs from "A Computer" with "A1 Computer" and "B Computer" with "B2 Computer".
Microsoft Scripting Guy recommends checking the registry instead of the very slow
Win32_Product
class. Here's their example where they search a list of computers by name:And we can compare lists of objects with
Compare-Object
to see what software is missing from the B PCs: