Files
Merge-DSCConfigurationData/Private/Test-ConfigurationDataNodeSealed.ps1

15 lines
388 B
PowerShell

function Test-ConfigurationDataNodeSealed {
[CmdletBinding()]
Param(
[Parameter(Mandatory=$true)]
[System.Collections.IDictionary]
$Node
)
if(-not (Test-ConfigurationDataDictionaryKey -Dictionary $Node -Key "Sealed")){
return $false
}
return [System.Management.Automation.LanguagePrimitives]::ConvertTo($Node["Sealed"], [bool])
}