with powershell how can i figure out what were the last software installed on my machine ?

Posted on 2014-12-09
Medium Priority
Last Modified: 2014-12-09
Hello experts,

i 'd like to have a list with all installed software on my machine but i want them ordered y installed date.

WMI can give me the installed software but i can not figure out how to get the installations date. as follow
Get-WmiObject -class win32Reg_AddRemovePrograms -ComputerName $env:COMPUTERNAME | select DisplayName

what are the powershell objects i should use and how to get the last installed first .... and so on ?

thank you in advance.

Question by:toshi_
1 Comment
LVL 86

Accepted Solution

oBdA earned 2000 total points
ID: 40488515
Get-WmiObject -Class Win32Reg_AddRemovePrograms | Sort-Object -Property InstallDate -Descending | Select DisplayName, InstallDate

Open in new window


Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
Loops Section Overview
Did you know PowerShell can save you time with SaaS platforms? Simply leverage RESTfulAPIs to build your own PowerShell modules. These will kill repetitive tickets and tabs, using the command Invoke-RestMethod. Tune into this webinar to learn how…

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question