{"id":2343,"date":"2020-11-14T22:42:17","date_gmt":"2020-11-14T22:42:17","guid":{"rendered":"https:\/\/hypervlab.co.uk\/?p=2343"},"modified":"2020-11-14T22:42:21","modified_gmt":"2020-11-14T22:42:21","slug":"autopilot-device-hash-capture","status":"publish","type":"post","link":"https:\/\/hypervlab.co.uk\/?p=2343","title":{"rendered":"AutoPilot &#8211; Device Hash Capture"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p>In this blog post we will cover the options of Windows 10 Device Hash Capture using the <a href=\"https:\/\/www.powershellgallery.com\/packages\/Get-WindowsAutoPilotInfo\/3.5\" target=\"_blank\" rel=\"noreferrer noopener\">Get-WindowsAutoPilotInfo<\/a> Script created by <a href=\"https:\/\/twitter.com\/mniehaus\" target=\"_blank\" rel=\"noreferrer noopener\">Michael Niehaus<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1403\" height=\"1081\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-7.png\" alt=\"\" class=\"wp-image-2345\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-7.png 1403w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-7-300x231.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-7-1024x789.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-7-768x592.png 768w\" sizes=\"auto, (max-width: 1403px) 100vw, 1403px\" \/><\/figure>\n\n\n\n<p><em>Before deploying a device using Windows Autopilot, the device must be registered with the Windows Autopilot deployment service. Ideally, this registration is performed by the OEM, reseller, or distributor from which the devices were purchased. However, the registration can also be done within your organization by collecting the hardware identity and uploading it manually. &#8211; <\/em>You can find more on Adding Devices and Autopilot <a href=\"https:\/\/docs.microsoft.com\/en-us\/mem\/autopilot\/add-devices\" target=\"_blank\" rel=\"noreferrer noopener\">Here<\/a>.<\/p>\n\n\n\n<p>The Powershell Script can only be run from inside of Windows 10. There is currently no WinPE Support! Sad I Know.<br>When adding the devices into Intune, There are two known options, either use the provided script or ask your OEM\/Reseller\/Distributor to upload the data on purchase of the devices.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1475\" height=\"1547\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-8.png\" alt=\"\" class=\"wp-image-2346\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-8.png 1475w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-8-286x300.png 286w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-8-976x1024.png 976w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-8-768x805.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-8-1465x1536.png 1465w\" sizes=\"auto, (max-width: 1475px) 100vw, 1475px\" \/><\/figure>\n\n\n\n<p>For this blog post we will focus on the Manual Method of Obtaining the Device Hash and the two options provided with the script &#8211; Exported to a Csv and Online Direct Upload.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1463\" height=\"1244\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-9.png\" alt=\"\" class=\"wp-image-2347\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-9.png 1463w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-9-300x255.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-9-1024x871.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-9-768x653.png 768w\" sizes=\"auto, (max-width: 1463px) 100vw, 1463px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Option 1 : Device Hash Capture to Csv File<\/h3>\n\n\n\n<p>For this example, We will be using a Windows 10 2020 Virtual Machine, Which has a clean install and has not been set up the Virtual Machine is still on the OOBE Stage as to save time on having to reset the machine. The USB Device will be simulated by mounting a vhdx file to the virtual machine which will have the Get-WindowsAutoPilotInfo downloaded onto. to start from the OOBE Screen we need to open a CMD Prompt using SHIFT + F10.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1279\" height=\"964\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10.png\" alt=\"\" class=\"wp-image-2348\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10.png 1279w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10-300x226.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10-1024x772.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10-768x579.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10-80x60.png 80w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10-160x120.png 160w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10-100x75.png 100w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10-200x150.png 200w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10-180x135.png 180w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10-360x270.png 360w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-10-238x178.png 238w\" sizes=\"auto, (max-width: 1279px) 100vw, 1279px\" \/><\/figure>\n\n\n\n<p>By default the ability to execute Powershell Scripts in blocked for security. We need to change this to be able to run the script using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Powershell.exe Set-ExecutionPolicy RemoteSigned -Force<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1281\" height=\"961\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12.png\" alt=\"\" class=\"wp-image-2350\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12.png 1281w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-300x225.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-1024x768.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-768x576.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-80x60.png 80w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-160x120.png 160w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-100x75.png 100w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-200x150.png 200w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-180x135.png 180w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-360x270.png 360w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-238x178.png 238w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-476x356.png 476w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-12-265x198.png 265w\" sizes=\"auto, (max-width: 1281px) 100vw, 1281px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>Powershell.exe .\\Get-WindowsAutoPilotInfo.ps1 -OutputFile DeviceCapture.Csv<\/code><\/pre>\n\n\n\n<p>The Csv File is generated and contains the serial number and the Device Hash.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1276\" height=\"961\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11.png\" alt=\"\" class=\"wp-image-2351\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11.png 1276w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11-300x226.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11-1024x771.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11-768x578.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11-80x60.png 80w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11-160x120.png 160w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11-100x75.png 100w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11-200x150.png 200w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11-180x135.png 180w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11-360x270.png 360w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-11-238x178.png 238w\" sizes=\"auto, (max-width: 1276px) 100vw, 1276px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Uploading your Device Hash to Microsoft Intune.<\/h3>\n\n\n\n<p>So we have out Device has file, Yes if you have multiple devices you can stack the results into a single Csv. <br>However we have our single windows 10 VM. <\/p>\n\n\n\n<p>I Should note that for the Lab to work you will need an Office 365 Tennant and an <a href=\"https:\/\/www.microsoft.com\/en-gb\/microsoft-365\/enterprise-mobility-security\/compare-plans-and-pricing\" target=\"_blank\" rel=\"noreferrer noopener\">Enterprise and Mobility E3<\/a> License.<br>From the Microsoft EndPoint Portal : <a href=\"https:\/\/endpoint.microsoft.com\/?ref=AdminCenter#home\">Microsoft Endpoint Manager admin center<\/a><br>Select Devices.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2034\" height=\"1082\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-13.png\" alt=\"\" class=\"wp-image-2352\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-13.png 2034w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-13-300x160.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-13-1024x545.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-13-768x409.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-13-1536x817.png 1536w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-13-600x320.png 600w\" sizes=\"auto, (max-width: 2034px) 100vw, 2034px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1985\" height=\"1139\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-14.png\" alt=\"\" class=\"wp-image-2353\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-14.png 1985w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-14-300x172.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-14-1024x588.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-14-768x441.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-14-1536x881.png 1536w\" sizes=\"auto, (max-width: 1985px) 100vw, 1985px\" \/><\/figure>\n\n\n\n<p>Select &#8220;Device Enrolment&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1870\" height=\"1060\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-15.png\" alt=\"\" class=\"wp-image-2354\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-15.png 1870w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-15-300x170.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-15-1024x580.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-15-768x435.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-15-1536x871.png 1536w\" sizes=\"auto, (max-width: 1870px) 100vw, 1870px\" \/><\/figure>\n\n\n\n<p>From the &#8220;Windows Autopilot Deployment Program&#8221; &#8211; Select &#8220;Devices&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1726\" height=\"1002\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-16.png\" alt=\"\" class=\"wp-image-2355\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-16.png 1726w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-16-300x174.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-16-1024x594.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-16-768x446.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-16-1536x892.png 1536w\" sizes=\"auto, (max-width: 1726px) 100vw, 1726px\" \/><\/figure>\n\n\n\n<p>From the menu options select &#8220;Import&#8221;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"399\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-17.png\" alt=\"\" class=\"wp-image-2356\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-17.png 577w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-17-300x207.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/figure><\/div>\n\n\n\n<p>Locate the Device Capture Csv File and Upload <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"549\" height=\"558\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-19.png\" alt=\"\" class=\"wp-image-2358\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-19.png 549w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-19-295x300.png 295w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/figure><\/div>\n\n\n\n<p>The Device import can take up to 15 Minutes<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1641\" height=\"875\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-20.png\" alt=\"\" class=\"wp-image-2359\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-20.png 1641w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-20-300x160.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-20-1024x546.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-20-768x410.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-20-1536x819.png 1536w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-20-600x320.png 600w\" sizes=\"auto, (max-width: 1641px) 100vw, 1641px\" \/><\/figure>\n\n\n\n<p>Once the device import has completed the computer will show up as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"3840\" height=\"740\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/autopilot_devices.png\" alt=\"\" class=\"wp-image-2360\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/autopilot_devices.png 3840w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/autopilot_devices-300x58.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/autopilot_devices-1024x197.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/autopilot_devices-768x148.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/autopilot_devices-1536x296.png 1536w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/autopilot_devices-2048x395.png 2048w\" sizes=\"auto, (max-width: 3840px) 100vw, 3840px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Option 2 : Device Hash Capture and Online Upload<\/h3>\n\n\n\n<p>In this example we will use Online Upload Functionality in the Get-WindowsAutopilotInfo Script.<br><strong>NOTE:<\/strong> For this example the Powershell Execution has all ready been configured to &#8220;RemoteSigned&#8221;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Powershell.exe Set-ExecutionPolicy RemoteSigned -Force<\/code><\/pre>\n\n\n\n<p>This time instead of using the -Output File Parameter we change it to -Online<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Powershell.exe .\\Get-WindowsAutoPilotInfo.ps1 -Online<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"963\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21.png\" alt=\"\" class=\"wp-image-2361\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21.png 1280w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-300x226.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-1024x770.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-768x578.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-80x60.png 80w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-160x120.png 160w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-100x75.png 100w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-200x150.png 200w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-180x135.png 180w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-360x270.png 360w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-238x178.png 238w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-21-265x198.png 265w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Using this method will install the WindowsAutoPilotIntune Module <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1277\" height=\"958\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22.png\" alt=\"\" class=\"wp-image-2362\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22.png 1277w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-300x225.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-1024x768.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-768x576.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-80x60.png 80w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-160x120.png 160w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-100x75.png 100w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-200x150.png 200w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-180x135.png 180w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-360x270.png 360w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-238x178.png 238w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-476x356.png 476w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-22-265x198.png 265w\" sizes=\"auto, (max-width: 1277px) 100vw, 1277px\" \/><\/figure>\n\n\n\n<p>Once the module install has completed you will get an Microsoft Login Prompt<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1275\" height=\"962\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-23.png\" alt=\"\" class=\"wp-image-2363\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-23.png 1275w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-23-300x226.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-23-1024x773.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-23-768x579.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-23-80x60.png 80w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-23-160x120.png 160w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-23-100x75.png 100w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-23-200x150.png 200w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-23-180x135.png 180w\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" \/><\/figure>\n\n\n\n<p>The First time you sign in you will get a prompt to allow access to PowerShell<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1282\" height=\"957\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24.png\" alt=\"\" class=\"wp-image-2364\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24.png 1282w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-300x224.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-1024x764.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-768x573.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-80x60.png 80w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-160x120.png 160w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-100x75.png 100w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-200x150.png 200w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-180x135.png 180w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-360x270.png 360w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-238x178.png 238w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-476x356.png 476w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-265x198.png 265w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-24-530x396.png 530w\" sizes=\"auto, (max-width: 1282px) 100vw, 1282px\" \/><\/figure>\n\n\n\n<p>Device Import Starts<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1276\" height=\"958\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25.png\" alt=\"\" class=\"wp-image-2365\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25.png 1276w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-300x225.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-1024x769.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-768x577.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-80x60.png 80w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-160x120.png 160w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-100x75.png 100w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-200x150.png 200w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-180x135.png 180w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-360x270.png 360w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-238x178.png 238w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-476x356.png 476w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/image-25-265x198.png 265w\" sizes=\"auto, (max-width: 1276px) 100vw, 1276px\" \/><\/figure>\n\n\n\n<p>This completes the device pre-staging into AutoPilot. You can then send the computer direct to the customer\/end user for a Zero Touch Sign On and Setup &#8211; Which will be covered in a later blog post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>In this blog post we will cover the options of Windows 10 Device Hash Capture using the Get-WindowsAutoPilotInfo Script created by Michael Niehaus. Before deploying a device using Windows Autopilot, the device must be registered with the Windows Autopilot deployment service. Ideally, this registration is performed by the OEM, reseller, or distributor from which the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2366,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[84],"tags":[285,286,290,291,288,287,127,106,132,289],"class_list":["post-2343","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-m365","tag-autopilot","tag-auzread","tag-devicecapture","tag-devicehash","tag-enterpriseandmobility","tag-intune","tag-microsoft","tag-windows","tag-windows10","tag-zerotouch"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AutoPilot - Device Hash Capture - HypervLAB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hypervlab.co.uk\/?p=2343\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AutoPilot - Device Hash Capture - HypervLAB\" \/>\n<meta property=\"og:description\" content=\"Reading Time:  4 minutesIn this blog post we will cover the options of Windows 10 Device Hash Capture using the Get-WindowsAutoPilotInfo Script created by Michael Niehaus. Before deploying a device using Windows Autopilot, the device must be registered with the Windows Autopilot deployment service. Ideally, this registration is performed by the OEM, reseller, or distributor from which the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hypervlab.co.uk\/?p=2343\" \/>\n<meta property=\"og:site_name\" content=\"HypervLAB\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-14T22:42:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-14T22:42:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/FeatureImage_DeviceHashCapture.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Simon Lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/smoon_lee\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon Lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=2343\",\"url\":\"https:\/\/hypervlab.co.uk\/?p=2343\",\"name\":\"AutoPilot - Device Hash Capture - HypervLAB\",\"isPartOf\":{\"@id\":\"https:\/\/hypervlab.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=2343#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=2343#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/FeatureImage_DeviceHashCapture.png\",\"datePublished\":\"2020-11-14T22:42:17+00:00\",\"dateModified\":\"2020-11-14T22:42:21+00:00\",\"author\":{\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359\"},\"breadcrumb\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=2343#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hypervlab.co.uk\/?p=2343\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=2343#primaryimage\",\"url\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/FeatureImage_DeviceHashCapture.png\",\"contentUrl\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/FeatureImage_DeviceHashCapture.png\",\"width\":1200,\"height\":600,\"caption\":\"windows_10_device_has_capture\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=2343#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hypervlab.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AutoPilot &#8211; Device Hash Capture\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hypervlab.co.uk\/#website\",\"url\":\"https:\/\/hypervlab.co.uk\/\",\"name\":\"HypervLAB\",\"description\":\"Blogging about all thing Microsoft\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hypervlab.co.uk\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359\",\"name\":\"Simon Lee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g\",\"caption\":\"Simon Lee\"},\"description\":\"Hi, I'm Simon an IT Enthusiast, PowerShell Geek, Gamer, and Sound Engineer. I've been working with in the IT Industry for around 6 years and have worked across private and public sector companies. The original idea behind \\\"hypervlab\\\" was that I required an 'RnD' environment which would allow me to be able to replicate any kind of enterprise on-premise environment which I could use for learning and testing without learning in a production environment. So in 2019, I decided to branch out and use the domain for a public facing blog to be able to contribute to the IT Community about all things Microsoft.\",\"sameAs\":[\"https:\/\/hypervlab.co.uk\",\"https:\/\/www.linkedin.com\/in\/simon-john-lee\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/smoon_lee\"],\"url\":\"https:\/\/hypervlab.co.uk\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AutoPilot - Device Hash Capture - HypervLAB","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hypervlab.co.uk\/?p=2343","og_locale":"en_GB","og_type":"article","og_title":"AutoPilot - Device Hash Capture - HypervLAB","og_description":"Reading Time:  4 minutesIn this blog post we will cover the options of Windows 10 Device Hash Capture using the Get-WindowsAutoPilotInfo Script created by Michael Niehaus. Before deploying a device using Windows Autopilot, the device must be registered with the Windows Autopilot deployment service. Ideally, this registration is performed by the OEM, reseller, or distributor from which the [&hellip;]","og_url":"https:\/\/hypervlab.co.uk\/?p=2343","og_site_name":"HypervLAB","article_published_time":"2020-11-14T22:42:17+00:00","article_modified_time":"2020-11-14T22:42:21+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/FeatureImage_DeviceHashCapture.png","type":"image\/png"}],"author":"Simon Lee","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/smoon_lee","twitter_misc":{"Written by":"Simon Lee","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hypervlab.co.uk\/?p=2343","url":"https:\/\/hypervlab.co.uk\/?p=2343","name":"AutoPilot - Device Hash Capture - HypervLAB","isPartOf":{"@id":"https:\/\/hypervlab.co.uk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hypervlab.co.uk\/?p=2343#primaryimage"},"image":{"@id":"https:\/\/hypervlab.co.uk\/?p=2343#primaryimage"},"thumbnailUrl":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/FeatureImage_DeviceHashCapture.png","datePublished":"2020-11-14T22:42:17+00:00","dateModified":"2020-11-14T22:42:21+00:00","author":{"@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359"},"breadcrumb":{"@id":"https:\/\/hypervlab.co.uk\/?p=2343#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hypervlab.co.uk\/?p=2343"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/hypervlab.co.uk\/?p=2343#primaryimage","url":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/FeatureImage_DeviceHashCapture.png","contentUrl":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2020\/11\/FeatureImage_DeviceHashCapture.png","width":1200,"height":600,"caption":"windows_10_device_has_capture"},{"@type":"BreadcrumbList","@id":"https:\/\/hypervlab.co.uk\/?p=2343#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hypervlab.co.uk\/"},{"@type":"ListItem","position":2,"name":"AutoPilot &#8211; Device Hash Capture"}]},{"@type":"WebSite","@id":"https:\/\/hypervlab.co.uk\/#website","url":"https:\/\/hypervlab.co.uk\/","name":"HypervLAB","description":"Blogging about all thing Microsoft","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hypervlab.co.uk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359","name":"Simon Lee","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g","caption":"Simon Lee"},"description":"Hi, I'm Simon an IT Enthusiast, PowerShell Geek, Gamer, and Sound Engineer. I've been working with in the IT Industry for around 6 years and have worked across private and public sector companies. The original idea behind \"hypervlab\" was that I required an 'RnD' environment which would allow me to be able to replicate any kind of enterprise on-premise environment which I could use for learning and testing without learning in a production environment. So in 2019, I decided to branch out and use the domain for a public facing blog to be able to contribute to the IT Community about all things Microsoft.","sameAs":["https:\/\/hypervlab.co.uk","https:\/\/www.linkedin.com\/in\/simon-john-lee\/","https:\/\/x.com\/https:\/\/twitter.com\/smoon_lee"],"url":"https:\/\/hypervlab.co.uk\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2343"}],"version-history":[{"count":0,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2343\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/media\/2366"}],"wp:attachment":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}