dsc_mof_file_apply

Ensure that all MOF files under MOFFile are applied via DSC.

⚙️ Compatible targets: Windows

Parameters

NameDocumentation
MOFFilePath to the mof that need to be applied.

This parameter is required.

Outcome conditions

You need to replace ${MOFFile} with its actual canonified value.

  • ✅ Ok: dsc_mof_file_apply_${MOFFile}_ok
    • ☑️ Already compliant: dsc_mof_file_apply_${MOFFile}_kept
    • 🟨 Repaired: dsc_mof_file_apply_${MOFFile}_repaired
  • ❌ Error: dsc_mof_file_apply_${MOFFile}_error

Example

method: dsc_mof_file_apply
params:
  MOFFile: VALUE

Documentation

Ensure that all MOF files contained under the target folder are applied via DSC on the target node.