I’m trying to work with the DNSServer module and am on a Utility server that has access to our DC (DCS001).
My Utility server has Powershell 5.1 installed and I see all of my DNS cmdlets. I can also load up the dnsmgmt.msc snapin and view DCNS records for all domains
But when I simply attempt to run:
Get-DnsServerResourceRecord -ComputerName “DCS001” -ZoneName “corp.com” -RRType A
…I get and error
Get-DnsServerResourceRecord : Invalid namespace
What am I missing? I’ve tried various other Zones for the -ZoneName parameter but same error.