Skip to content

Instantly share code, notes, and snippets.

@moisei
Created June 17, 2019 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moisei/21373d35fc5d94412dd8dc0fccaf4a8e to your computer and use it in GitHub Desktop.
Save moisei/21373d35fc5d94412dd8dc0fccaf4a8e to your computer and use it in GitHub Desktop.
add dns record
powershell.exe "Add-DnsServerResourceRecordA -Name " machinename " -ComputerName " 111.11.11.111 " -ZoneName " testcs.company.com " -AllowUpdateAny -IPv4Address " 111.11.10.110 " -TimeToLive " 00:00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment