Use this PowerShell script to export a specified machine’s installed Win32_Product information to a Csv file.
PowerShell Script:
$MachineName = Read-Host "Enter Machine Name"
Gwmi -Name Root\Cimv2 -cl Win32_Product –Comp $MachineName |
Select Name, Version |
Export-Csv C:\Win32_Product.Csv –NoType
No Comments