Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

Writing the MOF in the ISE causes Start-DscConfiguration to fail

$
0
0
It should be noted the MOF file needs to be saved with Unicode or ANSI encoding otherwise Start-DscConfiguration throws an error ('PowerShell Desired State Configuration failed to register the MOF file {0} using Mofcomp.exe during discovery of...'). This means you can't use the PowerShell ISE to write it as it defaults to UTF-8.

Viewing all articles
Browse latest Browse all 12198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>