Appx#

Removes a specified APPX family, package, or app. This can also clear the cache of a given APPX package.

If you are not aware of the difference, leave the default of family.

Note

The following Appx actions are commonly used to clear the start menu and search cache after removing other APPX packages:

- !appx: {operation: clearCache, name: '*Client.CBS*'}
- !appx: {operation: clearCache, name: '*StartMenuExperienceHost*'}
- !appx: {operation: clearCache, name: '*Windows.Search*'}

Required Parameters#


Paramater

Description

Type

name

Specifies the name of the APPX component. This supports a wildcard (*) on either side of the string, or both sides.

string

Optional Parameters#


Paramater

Description

Type

Default

operation

Specifies the operation to take place.

Enum:
remove
clearCache

remove

type

The type of the APPX component specified by name.

Enum:
family
package
app

family

verboseOutput

If true, produces verbose (detailed) output to the log.

bool

false

unregister

If true, the program files of the target APPX component will not be deleted.

bool

false