I'm working on a Server 2012R2 server. I want to use the comdlets like get-dnsserverresourcerecord in the dns server module for PowerShell.

It is not available in the ISE or in the list of modules.

I have powershell version 4.0. I am operating on server 2012r2. Where can I find this module? Is it possible to download or enable this module? I've looked at a lot of docs and posts, and they are all written in such a way that indicates the module should just be installed.

My plan is to use this server to execute DNS commands against another 2012r2 server running a DNS server. This server itself does not have a DNS server intalled.

Thank you.



On your management server install the Remote Server Administration Tools > Role Administration tools > DNS Server tools by using Server Manager and then selecting Add Roles and Features from the Manage menu (you will find the tools on the feature list). The DNS Server tools include the DNS PowerShell module.


| improve this answer | |
  • boom -- that's it. For the anyone else, here's a good link: windowsitpro.com/windows-server-2012/… I'd upvote for the speed, but I don't have the rep to do so yet :) – Mr.Budris May 18 '17 at 15:28
  • Glad I could help, could you mark the question as answered please? – Michael Brown May 18 '17 at 15:30
  • yep, I'm able to in about 30 seconds – Mr.Budris May 18 '17 at 15:31
  • How do you install this via PowerShell? – demonicdaron Jun 3 '19 at 13:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.