cremenescu / isc-dhcp-to-powershell

isc-dhcp-to-powershell script to convert ubnt isc dhcp config to be imported to windows server's dhcp server through powershell
MIT License
0 stars 0 forks source link

isc dhcp convert config file to powershell

DISCLAIMER: made with precious help from ChatGPT Version 1.2024.268

Save the PHP script as convert_dhcp_config.php. Run the script on your local machine:

php convert_dhcp_config.php path/to/your/dhcpd.conf > dhcp_commands.ps1

Execute the PowerShell Script: Run the script on your Windows Server 2022 DHCP server with administrative privileges:

.\dhcp_commands.ps1