Comments on: Generate NanoServer VHDX image easily with PowerShell //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/ Mon, 22 Jun 2015 12:02:15 +0000 hourly 1 https://wordpress.org/?v=5.2.4 By: Romain Serre //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/#comment-130 Mon, 22 Jun 2015 12:02:15 +0000 //www.tech-coffee.net/?p=3527#comment-130 Hi Stan,

I have modified this blog post to take into consideration the PowerShell execution policy.

Thank you 🙂

Romain.

]]>
By: Stanislas //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/#comment-129 Mon, 22 Jun 2015 09:45:36 +0000 //www.tech-coffee.net/?p=3527#comment-129 Just a small feedback : execute Set-ExecutionPolicy with unrestricted or remote before trying to run your script (because it’s not signed)
https://technet.microsoft.com/library/hh847748.aspx

]]>
By: Romain Serre //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/#comment-128 Sun, 21 Jun 2015 14:07:10 +0000 //www.tech-coffee.net/?p=3527#comment-128 Great news ! Thanks for the feedback

]]>
By: Peter //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/#comment-127 Sun, 21 Jun 2015 13:51:45 +0000 //www.tech-coffee.net/?p=3527#comment-127 It worked perfectly!! Thank you so much for the help

]]>
By: Romain Serre //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/#comment-126 Sun, 21 Jun 2015 08:03:49 +0000 //www.tech-coffee.net/?p=3527#comment-126 Hi Peter,

I have updated the code of New-NSVHDX.ps1. Could you try it ? (I suggest you to copy all and past it)

Thank you peter.

Romain.

]]>
By: Romain Serre //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/#comment-125 Sun, 21 Jun 2015 07:23:10 +0000 //www.tech-coffee.net/?p=3527#comment-125 Hi Peter,

I have found the problem. It is because COnvert-WindowsImage has been updated to version 10. I modify my script to work with the new version of Convert-WindowsImage and I post again.

Thank you for your feedback 🙂

]]>
By: Peter //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/#comment-124 Sun, 21 Jun 2015 02:14:04 +0000 //www.tech-coffee.net/?p=3527#comment-124 Yeah I made sure to run the script as an Administrator, and yeah I checked everything is copied into its respective folder underneath the Parent Folder. I did remove the “> $Null” at line 185 and it does the same thing, everything seems like it works and says the VHDX is created but when i go and check in the folder there is no VHDX.

]]>
By: Romain Serre //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/#comment-123 Sat, 20 Jun 2015 07:59:55 +0000 //www.tech-coffee.net/?p=3527#comment-123 Hi Peter,

Did you run the script in RunAs Administrator ? Could you verify if the WIM has been copied in the WIM folder as well as packages files, dism and so on ?

I have not tested yet the new convert-WIndowsImage with my script. To verify if it’s working you can remove the “> $Null” at line 185.

Thank you Peter.

Romain.

]]>
By: Peter //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/#comment-122 Sat, 20 Jun 2015 02:56:56 +0000 //www.tech-coffee.net/?p=3527#comment-122 Okay so different issue now, I run the script to make the VHDX it runs almost perfectly, it says everything works and that the VHDX has been made but when I go to the folder where it is suppose to be, there is nothing. I search my whole computer nothing, so it says it makes it. But it doesn’t actually do that. Any idea what the issue could be?

]]>
By: Peter //www.tech-coffee.net/generate-nanoserver-vhdx-image-easily-with-powershell/#comment-121 Sat, 20 Jun 2015 02:48:11 +0000 //www.tech-coffee.net/?p=3527#comment-121 Whoops, I figured it out, I download a new copy of the Convert-WindowsImage.ps1 and it has an issue on line 4092 and I forgot to fix it, but I did and now it works perfectly, Thanks Again!

]]>