Hi
I am trying to use remove-dnsserverresourcerecord cmdlet but I get permissiondenied.
here is the cmdlet and error.
remove-dnsserverresourcerecord -ComputerName “DOMAIN CONTROLLER” -ZoneName “ZONE”.com -RRType A -Name “SERVER TO REMOVE”
Failed to get the zone information for “ZONE” on server “DOMAIN CONTROLLER”.
+ CategoryInfo : PermissionDenied: (“SERVER TO REMOVE”:root/Microsoft/…rResourceRecord) [Remove-DnsServerResourceRecord], CimException
+ FullyQualifiedErrorId : WIN32 5,Remove-DnsServerResourceRecord
I was wondering why? If I log onto the server that is running pswa I can run the cmdlet fine.