Cozmo
While I'm rather new to powerShell v3, there's some things I can do with it, however, one thing that has eluded me is how to pull all hosts listed in our DNS Manager (Server 2008 R2). I don't need to set or remove anything just have it query the listing into a text file. Surprisingly I'm not finding a way to do this. Has anybody ever done this before? Can you tell me how you did it, please?
----------------------------
#30 Oct 2013 14:16
Cozmo
Doesn't appear to be much activity in this forum.
----------------------------
#30 Oct 2013 16:09
npocmaka
better try in Stackoverflow...
----------------------------
#23 Nov 2013 23:28
adbertram
You can do: Get-DNSServerResourceRecord -Server DNS_SERVER -Zone ZONE_NAME -RRType A
This will get all of the A records from the specified zone.
Blog --> adamtheautomator.com
----------------------------
#19 Oct 2014 08:44
jony33
I don't need to set or remove anything just have it query the listing into a text file. Surprisingly I'm not finding a way to do this. Has anybody ever done this before? Can you tell me how you did it, please?
Mohsin
----------------------------
#19 Oct 2014 11:56
Simon Sheppard
To use the DNS cmdlets you first need to
Code: Select all
Import-Module DnsServer
Code: Select all
Get-Command –Module DnsServer