Category filter
Script to list installed applications on Windows devices
Fetching a list of all installed apps on a device helps administrators have a bird’s eye view of all the apps being accessed by a user on the corporate device as well as identify any apps that the user may be lacking. This can also help identify potentially hazardous applications that may threaten the system. The PowerShell script will fetch a list of all the apps installed on the device. With Hexnode UEM, you can remotely deploy custom scripts to your enrolled Windows devices using the Execute Custom Script action.
PowerShell Script
List installed applications
1
Get-AppxPackage -Allusers | Select Name
1 |
Get-AppxPackage -Allusers | Select Name |
This will list all installed applications across all users on the device.
You can also fetch other details pertaining to applications such as package name by adding a parameter to the script.
1 |
Get-AppxPackage -Allusers | Select Name, PackageFullName |
Similarly, you can also fetch versions of all the listed applications, by modifying the parameter.
1 |
Get-AppxPackage -Allusers | Select Name, Version |
List installed applications for a specific user
You can also fetch the list of installed applications for a specific user account by using –user
parameter.
1 |
Get-AppxPackage –user 'username'| Select Name |
Specify the username for the user account for which you want to list installed applications. For example, for a user account named admin, use the following command.
Get-AppxPackage –user admin | Select Name