Skip to main content

Cumulative Update Audit Script

Overview​

This Script validate the full version of the OS and compares it with Microsoft's database of Windows Cumulative Updates to identify which cumulative update the device has. The data is then formatted and stored in the UDF.

Dependency​

Get-LatestInstalledCU

Implementation​

  1. Download the component Cumulative Update Audit Script from the attachments.

  2. After downloading the attached file, click on the Import button

  3. Select the component just downloaded and add it to the Datto RMM interface.
    Image 1

Sample Run​

To execute the component over a specific machine, follow these steps:

  1. Select the machine you want to run the component on from the Datto RMM.

  2. Click on the Quick Job button.
    Image 2

  3. Search the component Cumulative Update Audit Script and click on Select Image 3

  4. After selecting the component, enter the UDF number and the threshold days.

  5. Click on Run to initiate the component.
    Image 4

Datto Variables​

Variable NameTypeDefaultDescription
usrUDFStringEnter the UDF numberEnter the UDF number to store the data.
ThresholdDaysStringEnter the daysblank field up here takes 75 days as a default value.

Output​

A job status of Success is expected.
Activity Log

Image 5

UDF
Image 6

StdErr
StdErr is not expected.

Attachments​

Cumulative Update Audit Script

Changelog​

2026-01-07​

  • The component was not returning any data due to issues with its agnostic implementation. We resolved this by updating the component to use our latest agnostic template, ensuring proper functionality and consistency.

2025-10-09​

  • Initial version of the document