PowerShell – List All Installed Programs

#Out Put Grid
Get-CimInstance -ComputerName (Get-Content C:\Temp\Computer.txt) -ClassName win32_product -ErrorAction SilentlyContinue | Select-Object PSComputerName, Name, PackageName, InstallDate | Out-GridView

#Out Put text file
Get-CimInstance -ComputerName (Get-Content C:\Temp\Computer.txt) -ClassName win32_product -ErrorAction SilentlyContinue | Select-Object PSComputerName, Name, PackageName, InstallDate | Out-File -FilePath c:\temp\apps.txt

Leave a Reply

Your email address will not be published. Required fields are marked *