Convert WindowsImage PS1 File: Difference between revisions

No edit summary
No edit summary
Line 20: Line 20:
IE, if you're typing... <syntaxhighlight lang="batch">
IE, if you're typing... <syntaxhighlight lang="batch">
Convert-WindowsImage -SourcePath "F:\WhatEverNamed.ISO" -VHDFormat VHDX -Edition ServerEnterprise -VHDPartition GPT -Verbose
Convert-WindowsImage -SourcePath "F:\WhatEverNamed.ISO" -VHDFormat VHDX -Edition ServerEnterprise -VHDPartition GPT -Verbose
</syntaxhighlight>...at a command line and it isn't doing anything, then put that same command at the very, very, very, last line end of the Convert-WindowsImage.ps1 file.
</syntaxhighlight>...at a command line and it isn't doing anything, then put that same command at the very, very, very, last line end of the Convert-WindowsImage.ps1 file.T
 
=== Tip; ===
If you don't know what to put for the -Edition switch, just run it once without the -Edition switch and it will of course error out, but, it will also give you a list of the different 'editions' that are on that DVD, so then add that to the script after the -Edition switch.


== Problem #4; The script just stopped during the generation of the VHDX file ==
== Problem #4; The script just stopped during the generation of the VHDX file ==