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 |
---|---|---|
|
Specifies the name of the APPX component. This supports a wildcard ( |
string |
Optional Parameters#
Paramater |
Description |
Type |
Default |
---|---|---|---|
|
Specifies the operation to take place. |
Enum:
|
remove |
|
The type of the APPX component specified by |
Enum:
|
|
|
If true, produces verbose (detailed) output to the log. |
bool |
false |
|
If true, the program files of the target APPX component will not be deleted. |
bool |
false |