What is the powershell command to list all installed apps in windows 10
- User
What is the powershell command to list all installed apps in windows 10
- Assistant
To list all installed apps on a Windows 10 system using PowerShell, you can utilize the
Get-WmiObjectorGet-CimInstancecmdlet to query the system. Here is an example of how you can do it:Option 1: Using
Get-WmiObjectpowershellGet-WmiObject -Class Win32_Product | Select-Object -Property Name, VersionOption 2: Using
Get-CimInstancepowershellGet-CimInstance -ClassName Win32_Product | Select-Object -Property Name, VersionBoth of these commands will fetch information about all the installed applications, including their name and version.
Listing Apps Installed from Microsoft Store
For applications installed from the Microsoft Store, you can use the
Get-AppxPackagecmdlet:powershellGet-AppxPackage | Select-Object -Property Name, PackageFullNameThis command will show you all the installed Universal Windows Platform (UWP) applications, including their full package names.
Combining Both
If you want a comprehensive list that includes both traditional desktop applications and UWP applications, you can run both commands sequentially:
powershell# Desktop Applications Get-WmiObject -Class Win32_Product | Select-Object -Property Name, Version # UWP Applications Get-AppxPackage | Select-Object -Property Name, PackageFullNameBy using these PowerShell commands, you can gain insight into the installed applications on a Windows 10 machine, regardless of their installation source.
- User
What's the powershell command to uninstall app packages in windows 10
- Assistant
To uninstall app packages in Windows 10 using PowerShell, you can use the cmdlet for Universal Windows Platform (UWP) applications, which include apps installed from the Microsoft Store.