Change DNS Dynamic Records to Static Records

Most of the times happen that we got a request from other team and they ask to convert their servers DNS records from dynamic to static. It is fine to do this for 5-10 DNS records but what for 1000 records. I got the same request and i was scared to convert all 1000 records manually.

So i created a small script to do my work and want to share it if it can help you as well.


Click on the image to open it in large view.


Make sure your powershell execution policy is set to "RemoteSinged" or best is to run powershell in execution policy bypass mode with help of below command.

PowerShell.exe -ExecutionPolicy Bypass -File C:\DNS_Record_Dynamic_To_Static.ps1

Click on the image to open it in large view.

0 comments:

Post a Comment