– regarding hyper-v –
maybe this points in the right direction:
PowerShell Script: Change the BIOS GUID of a Hyper-V Virtual Machine
PowerShell Script: Change Advanced Settings of Hyper-V Virtual Machines