Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Latest commit

 

History

History
43 lines (30 loc) · 2.01 KB

Get-InstalledSoftware.README.md

File metadata and controls

43 lines (30 loc) · 2.01 KB

Get-InstalledSoftware

Get all installed software with DisplayName, Publisher and UninstallString.

Description

Get all installed software with DisplayName, Publisher and UninstallString from a local or remote computer. The result will also include the InstallLocation and the InstallDate. To reduce the results, you can use the parameter "-Search PRODUCTNAME".

Screenshot

Syntax

Get-InstalledSoftware [[-ComputerName] <String>] [[-Search] <String>] [[-Credential] <PSCredential>] [<CommonParameters>]

Example 1

PS> Get-InstalledSoftware -Search "*chrome*"

DisplayName     : Google Chrome
Publisher       : Google Inc.
UninstallString : "C:\Program Files (x86)\Google\Chrome\Application\51.0.2704.103\Installer\setup.exe" --uninstall --multi-install --chrome --system-level
InstallLocation : C:\Program Files (x86)\Google\Chrome\Application
InstallDate     : 20160506

Example 2

PS> Get-InstalledSoftware -Search "*visual studio*" -ComputerName TEST-PC-01 | Format-Table

DisplayName                        UninstallString                    InstallLocation                    InstallDate
-----------                        ---------------                    ---------------                    -----------
Microsoft Visual Studio Team Fo... MsiExec.exe /I{04B5C251-079F-31...                                    20151217
Visual Studio 2015 Prerequisite... MsiExec.exe /X{447A06BC-E1AC-4D...                                    20151217
Microsoft Visual Studio 2015-Le... MsiExec.exe /I{4F4AD505-AAA6-40...                                    20151217
Visual Studio 2010 Prerequisite... MsiExec.exe /X{53952792-BF16-30...                                    20150914
Microsoft Visual Studio 2015 Vs... MsiExec.exe /I{599702AA-91EB-38...                                    20151217