SystemPackage#
Removes a specified Windows component based off the provided manifest, along with any dependent components.
Windows components are sets of files, services, and/or registry entries relating to a specific part of the operating system.
Required Parameters#
Paramater |
Description |
Type |
---|---|---|
|
Specifies the name of the component. |
string |
Optional Parameters#
Paramater |
Description |
Type |
Default |
---|---|---|---|
|
Specifies the processor architecture of the component to be removed. |
Enum:
|
|
|
Specifies the language of the component to be removed. |
string |
|
|
Specifies an array of regex strings to filter files from being deleted. |
string array |
None |
|
Specifies an array of dependent components to exclude from removal. |
string array |
None |
Examples#
Removes the Bluetooth Telemetry component excluding BthTelemetry.dll with any parent path:
- !systemPackage: {name: 'Microsoft-Windows-CoreSystem-Bluetooth-Telemetry', arch: amd64, language: 'neutral', regexExcludeFiles: ['.*\\BthTelemetry.dll']}
Removes the SenseClient component excluding its dependent component Windows-SECDriver
:
- !systemPackage: {name: 'Microsoft-Windows-SenseClient-Deployment', arch: amd64, language: 'neutral', excludeDependents: ['Windows-SECDriver']}