Tuesday, 22 January 2019

How to retrieve a list of programs installed on Windows using PowerShell

Use the following powershell command

Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Sort-object -Property DisplayName | Format-Table –AutoSize | Out-File \temp\myinstalls.txt

No comments:

Post a Comment

How to find the last interactive logons in Windows using PowerShell

Use the following powershell script to find the last users to login to a box since a given date, in this case the 21st April 2022 at 12pm un...