boxstarter icon indicating copy to clipboard operation
boxstarter copied to clipboard

Creating Tasks in Server 2016 Nano fails

Open wspait opened this issue 8 years ago • 1 comments

Thanks to all who have taken the time and effort to develop Boxstarter and Chocolatey!

We are having some issues with Server 2016 Core and Nano:

In Create-BoxstarterTask.ps1 the call to $xml.save($taskFile) fails.

Nano server does not accept string type in save. This works when the code is changed it to use System.IO.StreamWriter

$stream = [System.IO.StreamWriter] $taskFile; $xml.save($stream).

wspait avatar Feb 15 '17 19:02 wspait

Related to issue #215

pauby avatar Mar 18 '19 22:03 pauby