Automatically create Hyper-V virtual machines for Autopilot V2 testing

Опубликовано: 26 Март 2026
на канале: Get Rubix
2,097
38

Why does no one leave me alone in the carpet store?

On that topic, just because corporate identifiers for Autopilot V2 aren't ready just yet, doesn't mean we can't be prepared for testing.

Today, we'll revisit my Hyper-V creation script and make some enhancements to it that include automatically generating the corporate identifier CSV every time we make a new VM.

First Hyper-V video:
   • How to Quickly Create Hyper-V Machines: Pa...  

Download the V2 version here:
https://github.com/stevecapacity/Intu...

Join the official Discord server
  / discord  

Read more at
https://www.getrubix.com

Chapters
0:00:00 - Furniture, floors, and carpet shopping with autonomy
0:01:13 - Hyped-up Hyper-V machines
0:02:28 - Review of the original
0:03:40 - What needs to change?
0:04:36 - V2
0:05:36 - Name change
0:07:13 - Auto corporate ID generation
0:09:17 - Make and model are static
0:12:32 - Explore the Virtual setting class
0:14:05 - Get that serial number
0:16:53 - Assemble the CSV
0:18:23 - Testing, but check your spelling
0:19:58 - Who's pumped for corporate identifiers?

#intune #autopilot #windows10 #windows11 #microsoftgraph #azureadministrator #azure #powershellscripting #powershell #activedirectory #bitlocker #windows365 #zerotrust #certificate #entra #microsoftdefender #zerotrust