Really cool work here!
I found a possible enhancement. My VM host had a hardening to User Right and local administrator didnt get the "Manage auditing and security log" (Only DA do) and this give access error (A required privilege is not held by the client. (Exception from HRESULT: 0x80070522)) at the "Applying image to VHDX" part. Maybe checking User Rights at the begining of the 2_createParentDisks.ps1
Really cool work here!
I found a possible enhancement. My VM host had a hardening to User Right and local administrator didnt get the "Manage auditing and security log" (Only DA do) and this give access error (A required privilege is not held by the client. (Exception from HRESULT: 0x80070522)) at the "Applying image to VHDX" part. Maybe checking User Rights at the begining of the 2_createParentDisks.ps1