Datto-RMM-UDF-Fields
Dedicated public repository of PowerShell scripts that collect endpoint telemetry and write compact summaries into Datto RMM User-Defined Fields (Custom2–Custom30).
UDF Script Catalog
Add DNS-ClientServerAddress to UDF 2.ps1
0.6 KBUDF 2 · DNS Servers
Collects configured DNS client server addresses (filtering link-local IPv6 placeholders) and writes to UDF 2.
Add RAM Part Number To UDF 3.ps1
0.6 KBUDF 3 · Memory
Queries CIM_PhysicalMemory for installed RAM part numbers and writes them to UDF 3.
Get-Disk part Name to UDF 4.ps1
0.3 KBUDF 4 · Storage
Reads physical disk friendly names via Get-Disk and populates UDF 4.
S1 Status to UDF 5.ps1
0.8 KBUDF 5 · SentinelOne
Checks SentinelOne installation directory and version config and updates UDF 5.
Installed[WIN] AV to UDF 6.ps1
0.3 KBUDF 6 · Antivirus
Audits registered antivirus products via root/SecurityCenter2 and writes to UDF 6.
Get-Bitlocker Key to UDF 7 v3.ps1
0.4 KBUDF 7 · BitLocker
Retrieves the C: drive BitLocker recovery key protector password and stores it in UDF 7.
Get-NetAdapter Link Speed to UDF 8.ps1
1.0 KBUDF 8 · Link Speed
Logs active adapter link speeds and Wi-Fi signal strength to UDF 8.
Data Link Speed to UDF.ps1
1.4 KBUDF · Wi-Fi & Ethernet
Evaluates Wi-Fi and Ethernet adapter link speeds plus wireless signal strength for UDF reporting.
Get Printers info to UDF 9 v2.ps1
1.5 KBUDF 9 · Printers
Returns printer names, host addresses, driver names, and versions formatted for UDF 9.
Local Administrators to UDF 10
0.2 KBUDF 10 · Local Admins
Parses net localgroup administrators members and records them in UDF 10.
OS bit structure to UDF 11 v2.ps1
0.2 KBUDF 11 · Architecture
Reads OS architecture (`64-bit` / `32-bit`) from Win32_OperatingSystem and writes to UDF 11.
Get Domain and 365 Status to UDF 11 v2
4.6 KBUDF 11 · AD / Entra ID
Combines Win32_ComputerSystem and dsregcmd /status to classify Hybrid, LocalAD, Entra, or Workgroup state.
Get Number of System Restore Points to UDF 12.ps1
0.4 KBUDF 12 · Restore Points
Counts restore points on non-server Windows machines via Get-ComputerRestorePoint.
Enable System Restore Points and update UDF 12 with Count
1.9 KBUDF 12 · Restore Automation
Enables System Restore when free disk space exceeds 25%, disables below 12%, and writes restore point count to UDF 12.
Static IP's to UDF 13 V3.ps1
1.3 KBUDF 13 · Static IPs
Identifies locally configured static IPv4/DNS interfaces (distinct from DHCP reservations) and logs to UDF 13.
System skuto UDF 14.ps1
0.6 KBUDF 14 · System SKU
Extracts hardware System SKU (for HP/HPE warranty lookups) and stores it in UDF 14.
UAC Status to UDF 15 (Script).ps1
1.0 KBUDF 15 · UAC Policy
Checks EnableLUA under Windows Policies System registry key and writes Enabled/Disabled to UDF 15.
Private Speed Test.ps1
3.4 KBUDF 16 · iPerf3 Speed Test
Runs staggered iperf3.exe upload/download tests with randomized backoff and logs Mbps throughput to UDF 16.
DNS Filter Network Authentication Policy Check update Update UDF 17 V5.ps1
5.7 KBUDF 17 · DNSFilter
Deploys DNSFilter & NetAlerts certs, verifies category blocking across DNSFilter nodes, and writes compliance to UDF 17.
Add Specific User Last Login Date to UDF 18.ps1
0.8 KBUDF 18 · Local Logon
Queries Get-LocalUser last logon timestamp for a target local account and stores it in UDF 18.
logon Days.ps1
0.5 KBUser Sessions
Parses quser session output into CSV objects to inspect active user login duration.
Add DHCP to UDF 19.ps1
0.3 KBUDF 19 · DHCP Server
Extracts unique DHCP server IPs from ipconfig /all and saves them to UDF 19.
Add Network Gateway IPv4 to UDF 20.ps1
0.2 KBUDF 20 · Gateway
Reads IPv4 default gateway next-hop addresses and populates UDF 20.
Screen Model to UDF 21.ps1
0.7 KBUDF 21 · Displays
Queries WMI monitor descriptor details for connected external displays and writes them to UDF 21.
Add Network Specific Suffix to UDF 22.ps1
0.7 KBUDF 22 · DNS Suffix
Collects connection-specific DNS suffixes across interfaces and logs them to UDF 22.
Add Netmask to UDF 23.ps1 & (2).ps1
0.3 KBUDF 23 · Subnet Mask
Extracts unique IPv4 subnet masks from ipconfig /all and writes them to UDF 23.
Add ASN to UDF 24.ps1
1.2 KBUDF 24 · ISP & ASN
Queries ipinfo.io via $env:token and records ISP ASN and domain metadata in UDF 24.
Add External IP Per DNS Filter to UDF 26.ps1
0.2 KBUDF 26 · WAN IP
Resolves myip.dnsfilter.com against 103.247.36.36 to record the public IP seen by DNSFilter into UDF 26.
Get-WANIP uses multiple services.ps1
1.3 KBWAN IP Consensus
Cross-checks public IP across ipinfo.io, ipify, ifconfig.me, and myip.dnsfilter.com.
Windows Defender (Get-MpComputerStatus) to UDF 27 V5.ps1
3.8 KBUDF 27 · Defender Score
Scores multiple Get-MpComputerStatus protection flags and writes warnings and overall score to UDF 27.
Mapped Drives to UDF 28 V2 (Parts 1 & 2)
1.4 / 1.7 KBUDF 28 · Mapped Drives
Two-stage script capturing user-context mapped network drives (Part 1) and publishing them in system context to UDF 28 (Part 2).
Number of Hyper-V VM's to UDF 29.ps1
0.2 KBUDF 29 · Hyper-V
Counts Hyper-V VMs via Get-VM and records the count in UDF 29.
TPM Version and Status to UDF 30.ps1
0.6 KBUDF 30 · TPM
Verifies Win32_Tpm initialization, enabled, and owned state and writes version/status to UDF 30.