I'm trying to script powershell to retrieve DNS forwarders on all DNS servers and check if they work properly.
I am not able to use a restricted account of any kind such as in DNSAdmin to do this. I seem to have to use domain admin account. To run automated task, I am hesitant to use highlyprivileged account.
How can a created least privileged account to do this with get-dnsserverforwarder?