Powershell script to create reverse lookups (PTR) in Microsoft DNS

We’re switching IP spaces at work and need to create a large amount of reverse lookup PTR records for our PAT/NAT pools.

Microsoft only allows you to manually create one DNS entry at a time via the GUI so I wrote a simple Powershell script that lets you mass create sequential PTR records.