$name = Get-ADComputer -Filter * -Property * | select Name,IPv4Addressapp
$app = Get-WmiObject -ComputerName $_.name -class Win32_Product |Select-Object -Property name,version | Where-Object {$_.name -match "QQ"}orm
$app |Export-CSV "C:\\app.csv" -NoTypeInformation -Encoding UTF8io