Hey Guys,
Please help me!, Ive spent the whole of my saturday afternoon trying to get this -whatshouldbe- simple script to work but getting no where.
So the script? is two part, the first bit creates a Hyper-V Generation Two VM, - This bits fine and works, The Seconds part, SHOULD apply a server core wim file to the vhdx along with an unattend file and boot, and 5 minutes later be configured as a domain controller.
But i cant get it to work on Generation Two, It works with Gen One... Which is starts to be a bit of a piss take.!
Text
@"select vdisk file="D:\Microsoft Hyper-V\AT-WINCOREDC01\Virtual Hard Drives\AT-WINCOREDC01-OSDISK.vhdx"attach vdisk cleancreate partition primary size=3000 id=27format quick fs=ntfs label="Recovery"assign letter="R"create partition primary size=300format quick fs=ntfs label="System"assign letter="S"active...