Get - AutoPilot Hash - NinjaOne
Purpose
The purpose of the soultion to check and update the Autopilot Hash into a custom field.
Associated Content
Custom Fields
| Content | Type | Function |
|---|---|---|
| cPVAL AutoPilot Hash | Custom Field | This field stores the Windows Autopilot hardware hash value. |
Device Group
| Content | Type | Description |
|---|---|---|
| cPVAL Autopilot Hash - Not Updated | Group | This Group shows machines where custom field cPVAL AutoPilot Hash is not updated. |
Automation
| Content | Type | Description |
|---|---|---|
| Get - AutoPilot Hash | Script | This script fetches the device 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. |
Task
| Content | Type | Description |
|---|---|---|
| Check Autopilot Hash | Task | This task is used to run the script to update the Autopilot hash under the Custom Filed. |
Implementation
-
Create the following custom fields:
-
Create the following device group:
-
Create the Automation:
-
Create the Task:
Changelog
2026-02-24
- Initial version of the document