Quantcast
Viewing all articles
Browse latest Browse all 12198

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

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