3 lines
209 B
PowerShell
3 lines
209 B
PowerShell
$FILE = "${SystemDrive}\InstalledSoftware.csv"
|
|
Get-WmiObject -Class Win32_Product | Sort-Object Name | Select Name,Vendor,Version | Where Name -NotLike "" | Export-Csv -Path $FILE -NoTypeInformation -Force
|