-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-FMG also not working #11
Comments
What do you have with -verbose ? What also FMG release ? |
Getting the same with verbose as well:
|
With the release if you mean version: Platform Full Name : FortiManager-VM64 |
What powershell release ? (Do you have try with PS 7 ?) What do you use cmdlet for connect-FMG ? i can’t try for the moment but I will try next week |
Actually it is working nowhere. I tried in powershell 5 and PS7, nowhere it worked. I for cmdlet powershell and the same tried in vscode also, nowhere worked. Was working till monday actually. |
-verbose need to be set for get-FMGFirewallAdress ( and not Format-Table) |
With verbose: PS C:\Users\z004m7hu> Get-FMGFirewallAddress -verbose |
Do you have always the issue ? |
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
The text was updated successfully, but these errors were encountered: