DSCResources/DnsServerRootHints/DnsServerRootHints.schema.psm1
configuration DnsServerRootHints { param ( [Parameter()] [hashtable] $RootHints ) Import-DscResource -ModuleName PSDesiredStateConfiguration Import-DscResource -ModuleName DnsServerDsc $param = @{ IsSingleInstance = 'Yes' NameServer = $RootHints } $executionName = 'RootHints' (Get-DscSplattedResource -ResourceName DnsServerRootHint -ExecutionName $executionName -Properties $param -NoInvoke).Invoke($param) } |