Inventorying and removing apps
After apps have been sideloaded, information can be gathered about
these applications on either a per-user basis or for all users. The
information includes application title and installation and the
manifest information for sideloaded apps. In addition to the sideloaded
apps, these commands can be used with apps installed from the Windows
Store.
To list applications for all users, enter the following:
Get-appxpackage -allusers
To list the details for a specific package and specific user account, enter the following:
Get-appxpackage -name <package name
> -user domain\username
Note
VIEWING APPS FOR OTHER ACCOUNTS
Viewing apps installed for accounts other than the currently installed user account requires an elevated session.
A package manifest is a file that contains product information and installation details about an app package.
To view package manifest information for an app, enter the following:
Get-appxpackagemanifest -package <full package name
>
To remove an app from Windows 8, enter the following:
Remove-appxpackage <package
>
To remove a provisioned app from an image, enter the following:
Remove-appxprovisionedpackage -online -packagename <Package Name
>
Figure 7 shows the results of get-appxpackage in PowerShell for the Bing Maps App.
Using DISM at the command line
To list apps provisioned in an image, enter the following:
DISM.exe /Image::c:\provisionedimages
/get-provisionedappxpackages
where c:\provisionedimages is the path to the location of the images.
To remove a provisioned app from an image, enter the following:
DISM.exe /Online /Remove-ProvisionedAppxPackage /Packagename:<package name
>
The ability to manage applications developed specifically
for an organization will encourage app development to meet specific
business needs by using Windows 8.