Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, November 14, 2013 8:24 PM
Hi All,
I was attempting to write a powershell script in Windows 2008 R2, but when I went to use the module, DNSServer, it was not avaiable, and I've upgraded my powershell version to 4.0. So my question is pretty simple, is there a way to get the required modules installed on Windows 2008 R2. I can't seem to find anything that tells me I can or can't.
Thanks
All replies (3)
Thursday, November 14, 2013 8:54 PM ✅Answered
Hi,
Take a look at Get-Module -ListAvailable to see what modules you can use.
Don't retire TechNet! - (Maybe there's still a chance for hope, over 12,300+ strong and growing)
Friday, November 15, 2013 7:52 AM ✅Answered | 1 vote
If you go the below link
http://technet.microsoft.com/en-us/library/jj649850.aspx
The DNS Management PowerShell modules are only supported for Windows Server 2012 / Win 8 above Operating System.
You can rather look at the DNS management WMI class to achieve this.
Check out the Scripting Guy's blog for the Guest posts by MVP Richard Siddaway on using WMI to manage DNS :
Hope this will help
Knowledge is Power{Shell}.
Saturday, November 16, 2013 2:54 AM ✅Answered
Hi helpo112,
Thanks for your posting.
In addition, If you want to run DNSServer Module, please also make sure you have the DNS role installed in your server. Then please run the cmdlet as Mike suggested to check wehther this module can be available.
I hope this helps.