This Powershell script enables you to retrieve installed software from remote computers and saves in CSV format {Excel}:
/ElihuEl/ps-installedsoftware-234044257
1 of 1
Download to read offline
More Related Content
Ps installedsoftware
1. Elihu Eli El - 15MAY2020
This Powershell script enables you to retrieve installed software from remote computers and saves in CSV
format {Excel}.
$computer = Get-Content C:tempcomputers.txt
$Output = Foreach($C in $computer)
{
$System = Get-WmiObject Win32_ComputerSystem -ComputerName $C | Select-Object -Property Name, Model
$BIOS = Get-WmiObject Win32_Product -ComputerName $C | Select-Object Name, Version
Foreach($B in $BIOS)
{
New-Object -TypeName PSObject -Property @{
ComputerName = $System.Name
ModelName = $System.Model
SoftwareName = $B.Name
Version = $B.Version}
}
}
$Output | Export-Csv -Path c:TempResultsoftware.csv -NoTypeInformation -Encoding UTF8