Skip to content

Cannot process argument transformation on parameter 'RefVHDX' #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eichmeyer opened this issue Jul 19, 2020 · 3 comments
Open

Cannot process argument transformation on parameter 'RefVHDX' #10

eichmeyer opened this issue Jul 19, 2020 · 3 comments

Comments

@eichmeyer
Copy link

If I follow your instructions, I will stick to the following point:

PS C:\Users\h.eichmeyer> New-ClientVM -TenantName 'henetsystems' -OSBuild 2004 -NumberOfVMs 1 -CPUsPerVM 5 -VMMemory 8gb
Grabbing Autopilot config..
Creating VM: henetsystems_1..
WARNING: Cannot process argument transformation on parameter 'RefVHDX'. Cannot convert value to type System.String.
PS C:\Users\h.eichmeyer>

@JigSawFr
Copy link

JigSawFr commented Mar 2, 2021

Same error on my side, any clue ?

@ghost
Copy link

ghost commented May 4, 2021

Try

initialize-hvtools -path -reset

Then redo add-imagetoconfig, add-networktoconfig, and add-tenanttoconfig. I found that the hvconfig.json file had multiple entries for the same reference build (20H2) and the first one referenced a bad ISO. When I tried to modify the .json directly without doing the reset, something wasn't right and continued to throw the same error. The reset with the single 20H2 build worked.

@JonathanPitre
Copy link

I believe this is fixed now in #32.

Please test again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants