I am getting connected to the specific adom. But when I am trying to fetch all the FirewalAddress is also not working, getting the following:
PS C:\WINDOWS\system32> Get-FMGFirewallAddress -connection $fmgConnect | Format-Table
Unable to use FortiManager API (-6) Invalid url
At C:\Program Files\WindowsPowerShell\Modules\PowerFMG\0.1.0\Private\RestMethod.ps1:184 char:13
-
throw "Unable to use FortiManager API (" + $response.resu ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : OperationStopped: (Unable to use F...-6) Invalid url:String) [], RuntimeException
- FullyQualifiedErrorId : Unable to use FortiManager API (-6) Invalid url
I am getting connected to the specific adom. But when I am trying to fetch all the FirewalAddress is also not working, getting the following:
PS C:\WINDOWS\system32> Get-FMGFirewallAddress -connection $fmgConnect | Format-Table
Unable to use FortiManager API (-6) Invalid url
At C:\Program Files\WindowsPowerShell\Modules\PowerFMG\0.1.0\Private\RestMethod.ps1:184 char:13