Closed Yvand closed 3 years ago
You must use Windows PowerShell (5.1) to see those DSC resources. A future version of PowerShell will be able to show them.
Or rather DSC will be moved out of PowerShell and into a separate module which will be installed independent of PowerShell.
Indeed, if I install DnsServerDsc in "Windows PowerShell", the DSC resources apperar. But this requirement makes this module impossible to use it for me, because most of the DSC modules are installed in PowerShell 7.1, and won't be visible in an editor which uses "Windows PowerShell" 5.1. I will stick to xDnsServer for the time being.
Keep an eye out for DSCv3 which will probably resolve this (but I can’t be 100%).
Since we can’t resolve this in this repo (without moving backwards to MOF-based) I will go ahead and close this issue. Thanks for reporting it!
Details of the scenario you tried and the problem that is occurring
I cannot find resources DnsServerA, DnsServerPtr, and DnsServerCName in DnsServerDsc 3.0.0. I'm not sure if I missed something obvious, but I simply cannot find them, either in the file system or with powershell:
Verbose logs showing the problem
Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Version and build of PowerShell the target node is running
Version of the DSC module that was used