O'Reilly logo

Windows PowerShell™ Scripting Guide by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating DNS Zones

After documenting the existing DNS zones, you will more than likely decide you need to create additional DNS zones. To do this, you can use the DNS Manager console or you can use Windows PowerShell to do the work for you. If you decide to use the DNS Manager console, you will be presented with a wizard as shown in Figure 18-6.

New DNS zones are easily created by walking through a seven-page wizard.

Figure 18-6. New DNS zones are easily created by walking through a seven-page wizard.

An example of using Windows PowerShell to create a DNS zone is found in the CreateDNS Zone.ps1 script.

In the CreateDNSZone.ps1 script, begin with the param statement. This param statement is rather complicated because of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required