when i on the Powershell of windows server 2016 tp2 making the VHD of Nano serverAfter execution, no responseand there is no production of the vhdlike this picture
Technology Tips and News
when i on the Powershell of windows server 2016 tp2 making the VHD of Nano serverAfter execution, no responseand there is no production of the vhdlike this picture
Hi Yaaamateh,
Please go through Windows 10 part in this article :
https://gallery.technet.microsoft.com/scriptcenter/Convert-WindowsImageps1-0fe23a8f#content
The script is now a Function! You have to load it first (aka dot-source) and then call by its name, without extension.Please refer to the Examples section below for a code sample.
So you can try the script below instead in windows 10, and put all the input in variable $ConvertWindowsImageParam :
# Load (aka "dot-source) the Function . .\Convert-WindowsImage.ps1 # Prepare all the variables in advance (optional) $ConvertWindowsImageParam = @{ SourcePath = "9600.17053.WINBLUE_REFRESH.141120-0031_X64FRE_SERVER_EN-US_VL-IR5_SSS_X64FREV_EN-US_DV9.ISO" RemoteDesktopEnable = $True Passthru = $True Edition = @( "ServerDataCenter" "ServerDataCenterCore" ) Package = @( "C:\Users\artemp\Downloads\November\Windows8.1-KB3012997-x64-en-us-server.cab" "C:\Users\artemp\Downloads\VMguest\windows6.2-hypervintegrationservices-x64.cab" ) } # Produce the images $VHDx = Convert-WindowsImage @ConvertWindowsImageParam
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang