hashAndShare

1.0.0

This script is designed for easy execution during Windows OOBE or initial device setup.
It collects the Autopilot hardware hash, serial number, and hostname, then uploads
them to OneTimeSecret as a one-time, expiring payload that can be retrieved by IT.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name hashAndShare

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 Seacoast Data. All rights reserved.

Package Details

Author(s)

  • Brandon Dube

Tags

Autopilot Intune Hash Enrollment OneTimeSecret

Dependencies

This script has no dependencies.

Release Notes

Initial release — securely uploads Autopilot hardware hash to OneTimeSecret for IT enrollment.

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 5 10/16/2025