MOF strings have escaping rules that are not honored by the current xDSCResourceDesigner implementation, which can cause xDSCResourceDesigner to create MOF files with syntax errors.
For example:
<snip>
New-xDscResourceProperty `
-Name Account `
-Description 'User name must be specified in the form of DOMAIN\USER' `
-Type PSCredential `
-Attribute Required
<snip>
will generate an invalid MOF string literal of:
"User name must be specified in the form of DOMAIN\USER"
The correct MOF string literal should be:
"User name must be specified in the form of DOMAIN\\USER"
MOF strings have escaping rules that are not honored by the current xDSCResourceDesigner implementation, which can cause xDSCResourceDesigner to create MOF files with syntax errors.
For example:
will generate an invalid MOF string literal of:
The correct MOF string literal should be:
See http://www.dmtf.org/sites/default/files/standards/documents/DSP0221_3.0.0.pdf, line 1089 for the full specification for MOF strings.