DHCP Windows to Mikrotik Migration Script

Figured someone may find this useful. Created a PowerShell script that will take all DHCP scopes on a Windows Server and create an RSC script to move the service to RouterOS. Moves all the reservations, keeps the lease times, creates an Options List from the Windows Server Options, and uses the scope options to fill in the DHCP Network. Tear it apart and let me know where I can improve.

Run it as such.

./DHCP-Win2Mikrotik.ps1 -ComputerName SRV-DHCP -OutFile "C:\Users\Bob\Desktop\script.rsc"

Script is on GitHub
https://raw.githubusercontent.com/cfikes/R5TechRoundTable/main/Powershell%20Scripts/DHCP-Win2Mikrotik.ps1

Where was he before?! Thank you. I put it in my piggy bank.