This script uses the output of the netsh command to dump the contents into a text file that's parsed to be input into your Fortigate. I haven't written the code for Server 2012 since I didn't need it, but if requested I may be able to get that going as well. This script MAY work on older FOS versions, but I haven't tested it there.
Bob
http://Fortigate.camerabob.com/DHCP.cgi
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Added support for PowerShell DHCP scopes. Exclusions will not work since I only had an old snipped of code to work from and it had no exclusion list inside. This was tested on (imported to) FortiOS v4.3.18 and compared with FortiOS v5.2.3 (but not imported for testing).
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1710 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.