Skip to main content

Get - AutoPilot Hash

Overview​

This script fetches the device's Autopilot Hardware Hash using CIM/WMI from the MDM namespace. Once retrieved, it validates the hash format and updates the cPVAL AutoPilot Hash custom field with the value. Must be run with Administrator privileges.

Sample Run​

Play Button > Run Automation > Script
SampleRun1

Dependencies​

Automation Setup/Import​

Automation Configuration

Output​

  • Activity Details
  • Custom Field

Changelog​

2026-02-20​

  • Initial version of the document