Hi, I have been working for several months on a PowerShell module that uses the FortiManager REST API. This module is available on psgallery(.com) : https://www.powershellgallery.com/packages/PowerFMG Actually, we support to connect to HTTPS or HTTP and use the following feature :
[ul]it is very easy to use (and install) Launch PowerShell command line and launch following command for install
Install-Module PowerFMGfor load the module
Import-Module PowerFMGConnect to your FortiManager
Connect-FMG 192.0.2.1You get a prompt to ask credential (you need to enable JSON API this issue, look doc for more info) for example to get all address use
Get-FMGFirewallAddressYou can get the list of command available via
Get-Command -Module PowerFMGand for get help (and example about a command for example Add-FMGFirewallAddress)
Get-Help Add-FMGFirewallAddress -FullMore documentation, example is available on https://github.com/FortiPower/PowerFMG and you can also report issue/enhance !
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 |
---|---|
1738 | |
1108 | |
752 | |
447 | |
240 |
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.