Monthly Archives: April 2015

Script Block properties in DSC resources

Here’s a little-known feature of Desired State Configuration. First, notice that the Script resource’s properties are all strings, not ScriptBlocks, in its schema: However, even though they’re strings in the MOF file, PowerShell will allow you to assign ScriptBlock objects … Continue reading

Posted in PowerShell | Tagged | Leave a comment