Share via


Powershell command to see what’s installed

Here is a quick little Powershell script that I find useful to see what I have installed on my system.

This will return the installed program and the date that it was installed:

get-wmiobject -class "win32reg_addremoveprograms" -namespace "root\cimv2" | select-object -property Displayname,Installdate

To run this against a remote computer just add a –Computername “computername” before the first pipe.

Comments

  • Anonymous
    January 01, 2003
    Our friend, Tim Mintner posted a great PowerShell script today on his blog.
     
    http://blogs.technet.com/tmintner/archive/2006/06/24/438680.aspx...
  • Anonymous
    June 26, 2006
    It should be noted that this will only find software that puts a key in the add/remove registry hive. Since that covers 905% or more of installed software, it is still useful code. Thanks for sharing it.
  • Anonymous
    June 26, 2006
    That is a very good point EBGreen.  Most programs add keys to add/remove but this won't work for old DOS programs or very old Windows programs.
  • Anonymous
    July 13, 2006
    PSMDTAG:TYPE:WMI: Win32reg_addremoveprograms

    PSMDTAG:FAQ: What Programs are installed on my system?

    Jeffrey Snover [MSFT]
    Windows PowerShell/Aspen Architect
    Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell
    Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx