Skip to content

Get-FMG also not working #11

@palakd38

Description

@palakd38

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions