Parameters
The most important piece of information in the DSC MOF schema file is the property declarations.
CIM uses the term property, and PowerShell uses parameter to refer to the same thing. It's easy to get confused by this, and some people use the term interchangeably.
As we will cover in The DSC PowerShell module file coming up, the parameters or properties the DSC resource accepts have to match each of the TargetResource functions. This rule also applies to the MOF schema file.
The parameter statement has the same information as the parameter statement in the TargetResource functions, but it looks drastically different. This is because it is using the more verbose CIM syntax, which is less pleasant to the eyes than the PowerShell syntax. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access