Posted On January 23, 2023

PowerShell: Command to Retrieve Windows Applications List

kimconnect 0 comments
blog.KimConnect.com >> Windows >> PowerShell: Command to Retrieve Windows Applications List

The following the the PoSH equivalent of appwiz.cpl in Windows:

PS> invoke-command TestWindows {Get-Package -Provider Programs -IncludeWindowsInstaller|select-object Name,Version|sort -property Name}|select -property * -ExcludeProperty runspaceid,pscomputername

Name                                                               Version
----                                                               -------
7-Zip 18.06 (x64 edition)                                          18.06.00.0
DRAC Command Line Tools                                            9.2.0
Notepad++ (64-bit x64)                                             7.5.9
NSClient++ (x64)                                                   0.5.2039
PuTTY release 0.71 (64-bit)                                        0.71.0.0

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Remediate IE Vulnerabilities

<# PowerShell Script to Secure Internet Explorer & Memory Operations reg add "HKLM\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_ENABLE_PRINT_INFO_DISCLOSURE_FIX" /v…

Quick and Dirty Script to Watch and Start / Restart Windows Service

// powershell.exe// -ExecutionPolicy Bypass c:\scripts\serviceCheck.ps1$serviceName = '[input-service-name-here]'$arrService = Get-Service -Name $serviceNamewhile ($arrService.Status -ne 'Running'){ Start-Service…

PowerShell: Mapping and Unmapping Network Drives

How to Map Network Drive using Dot Net Framework $driveLetter='T' $smbPath='\\FILESERVER\SHARENAME' $username='DOMAIN\USERNAME' $password='PASSWORD' $networkDrivesObject =…