Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


windows:powershell_commands:dns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
windows:powershell_commands:dns [2017/08/10 13:00]
127.0.0.1 external edit
windows:powershell_commands:dns [2019/10/31 09:06] (current)
Line 1: Line 1:
-====== ​Add DNS records with PowerShell ======+====== ​Create ​DNS records with PowerShell ======
 Add cName record: Add cName record:
 <code bash>​add-dnsserverresourcerecordcname -ComputerName "​ad01"​ -ZoneName "​example.com"​ -Name "​test-cname"​ -HostNameAlias "​ftp.example.com."​ -CreatePtr</​code>​ <code bash>​add-dnsserverresourcerecordcname -ComputerName "​ad01"​ -ZoneName "​example.com"​ -Name "​test-cname"​ -HostNameAlias "​ftp.example.com."​ -CreatePtr</​code>​
windows/powershell_commands/dns.txt · Last modified: 2019/10/31 09:06 (external edit)