Skip to content

Instantly share code, notes, and snippets.

@oldsj
Created January 25, 2018 20:19
Show Gist options
  • Save oldsj/633916f484467fa39299e8e1c7bf4354 to your computer and use it in GitHub Desktop.
Save oldsj/633916f484467fa39299e8e1c7bf4354 to your computer and use it in GitHub Desktop.
#PROD
Get-DnsServerResourceRecord -ComputerName oscn.net -ZoneName oscn.net -RRType A | Export-Clixml out.xml
#AWS
$current = Import-Clixml .\out.xml
$current | Add-DnsServerResourceRecord -ZoneName oscn.net -ComputerName 172.31.84.105 -ErrorA
ction SilentlyContinue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment