-
Notifications
You must be signed in to change notification settings - Fork 29
UpdateServicesCleanup
dscbot edited this page Oct 13, 2025
·
1 revision
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Ensure | Key | String | An enumerated value that describes if the WSUS cleanup task exists. Default value is 'Present'. |
Present, Absent
|
| CleanupLocalPublishedContentFiles | Write | Boolean | Cleanup local published content files. | |
| CleanupObsoleteComputers | Write | Boolean | Delete computers that have not contacted the server in 30 days or more. | |
| CleanupObsoleteUpdates | Write | Boolean | Delete updates that are expired and have not been approved for 30 days or more, and delete older update revisions that have not been approved for 30 days or more. | |
| CleanupUnneededContentFiles | Write | Boolean | Delete update files that aren't needed by updates or downstream servers. | |
| CompressUpdates | Write | Boolean | Compress updates. | |
| DeclineExpiredUpdates | Write | Boolean | Decline updates that aren't approved and have been expired by Microsoft. | |
| DeclineSupersededUpdates | Write | Boolean | Decline updates that have not been approved for 30 days or more, are not currently needed by any clients, and are superseded by an approved update. | |
| TimeOfDay | Write | String | Time of day to start cleanup. |
This resource is used to configure the Update Services Cleanup Task.