Expose whether DNS Client Server Address assigned by DHCP or Static
The Get-DNSClientServerAddress cmdlet does not provide information on whether or not the Server Addresses were assigned via DHCP or have been statically assigned.
This is presumably because the information is not provided to WMI/CIM.
This information is available by using NETSH, so it is available in the OS.
This would allow some problems in the xDNSServerAddress resource in the xNetworking DSC resource module (in the Resource Kit) to be solved.
For more information about the problem and why it is causing problems, please see this issue in the xNetworking resource module: https://github.com/PowerShell/xNetworking/issues/164
Moved to networking, as the PowerShell team does not own this cmdlet.