windowspowershellinstalled-applications

Finding installed software/Disregarding common OS softwares


I am attempting to update a script we currently have at my position. My want is to be able to pull up a list of installed software on a PC however, I would like to exclude things such as "Windows Redistributables" & other OS-standard programs. I am not sure if I would have to make a text file with the full names of the programs verbatim and have the command run and exclude those names or if their is a simpler way to do that. Which is why I am here. The current command we use is listed below.

Get-InstalledSoftware -Computername $env:computername | Select-Object Name,Version,ComputerName |Format-table


Solution

  • One Possibility filter out anything with Microsoft in the Name.

    Get-InstalledSoftware -Computername $env:computername | 
       Where-Object Name -NotLike "*Microsoft*"           |
       Select-Object Name,Version,ComputerName            |
       Format-table