Powershell – How to access/obtain Powershell DNS Server module on 2012r2

domain-name-systempowershellpowershell-v4.0windows-server-2012-r2

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.

Best Answer

Budris

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.

MIke,