Solved

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

Posted on 2014-12-09
1
131 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_
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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