garethEds Posted July 10, 2025 Posted July 10, 2025 Good afternoon everyone - I wonder if anyone has a powershell script that I can run on machine startup that collects a machines serial number, hash key and current machine name and then writes it back to a central CSV/Excel file. We will shortly be moving to InTune so I wanted to collect all the Hash keys from domain machines without running around the school. Cheers
psydii Posted July 10, 2025 Posted July 10, 2025 get-windowsautopilotinfo.ps1 is probably your best bet! Manually register devices with Windows Autopilot | Microsoft Learn This one is also worth a look. There have been times where some of the features in MS's version broke (because the author left MS), and so an MVP who he had previously worked with took it on. It seem they are both still being developed. For what you are trying to do (get a csv) I think the MS one has always worked.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now