Solved

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

Posted on 2014-12-09
1
136 Views
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.

toshi
0
Comment
Question by:toshi_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 84

Accepted Solution

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

Open in new window

0

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.

If you are experiencing a similar issue, please ask a related question

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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