One little letter! :)

Yes, I would...

Kurt

On Thu, Feb 18, 2016 at 6:22 PM, Webster <[email protected]> wrote:
> Wouldn't you be piping into a set and not a get?
>
>
> Webster
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] 
> On Behalf Of Kurt Buff
> Sent: Thursday, February 18, 2016 8:09 PM
> To: [email protected]
> Subject: [powershell] DNS: pulling records from one zone, entering them into 
> another zone
>
> All,
>
> We're decommissioning a DNS server in our lab, which had its own zone
> - it's a Linux environment, not a Windows environment, so we're not messing 
> with AD in the lab.
>
> However, currently our AD DNS servers are secondaries for DNS in the lab. We 
> wish to copy the A records from the lab zone into the production zone. After 
> that's accomplished, we will be finish off decommissioning the lab DNS server.
>
> STFW shows me how to merge zones, which is not what we're after.
>
> Of course, all of the records we're copying will be static.
>
> I'm just not seeing how to do this one.
>
> Naively, I am thinking that something like this would work:
>
> get-dnsserverresourcerecord -computername usdc01p -zonename examplelab.com 
> -rrtype A | select hostname, recorddata | get-dnsserverresourcerecord 
> -zonename testzone.net -computername usdc01p
>
> I'm going to stand up a test zone in AD, and try this out.
>
> If anyone's done something like this, do you know of any particular gotchas?
>
> Thanks,
>
> Kurt
>
>
> ================================================
> Did you know you can also post and find answers on PowerShell in the forums?
> http://www.myitforum.com/forums/default.asp?catApp=1
>
>
> ================================================
> Did you know you can also post and find answers on PowerShell in the forums?
> http://www.myitforum.com/forums/default.asp?catApp=1


================================================
Did you know you can also post and find answers on PowerShell in the forums?
http://www.myitforum.com/forums/default.asp?catApp=1

Reply via email to