Comments (8)
Hi Jim,
you can use
(Invoke-FGTRestMethod -uri api/v2/monitor/system/firmware).results
There is 2 fields current and available
(Invoke-FGTRestMethod -uri api/v2/monitor/system/firmware).results.current
name : FortiOS
id : current
version : v6.4.1
major : 6
minor : 4
patch : 1
build : 1637
branch-point : 1637
release-type : GA
notes : http://docs.fortinet.com/d/fortios-6.4.1-release-notes/download
source : current
platform-id : FGT2KE
(Invoke-FGTRestMethod -uri api/v2/monitor/system/firmware).results.available
name : FortiOS
id : 06004000FIMG0018304002
version : v6.4.2
major : 6
minor : 4
patch : 2
build : 1723
branch-point : 1723
release-type : GA
notes : http://docs.fortinet.com/d/fortios-6.4.2-release-notes/download
source : fortiguard
name : FortiOS
id : 06004000FIMG0018304000
version : v6.4.0
major : 6
minor : 4
patch : 0
build : 1579
branch-point : 1579
release-type : GA
notes : http://docs.fortinet.com/d/fortios-6.4.0-release-notes/download
source : fortiguard
name : FortiOS
id : 06002000FIMG0018302005
version : v6.2.5
major : 6
minor : 2
patch : 5
build : 1142
branch-point : 1142
release-type : GA
notes : http://docs.fortinet.com/d/fortios-6.2.5-release-notes/download
source : fortiguard
name : FortiOS
id : 06002000FIMG0018302004
version : v6.2.4
major : 6
minor : 2
patch : 4
build : 1112
branch-point : 1112
release-type : GA
notes : http://docs.fortinet.com/d/fortios-6.2.4-release-notes/download
source : fortiguard
name : FortiOS
id : 06002000FIMG0018302003
version : v6.2.3
major : 6
minor : 2
patch : 3
build : 1066
branch-point : 1066
release-type : GA
notes : http://docs.fortinet.com/d/fortios-6.2.3-release-notes/download
source : fortiguard
from powerfgt.
I've tested this (on 6.2.x) and works fine, thanks @alagoutte !
from powerfgt.
Hi @JimBobUKII
You want known if there is new firmware for the firewall ?
i need to check if there is a API available on monitoring URI...
from powerfgt.
Hi @alagoutte
Yes, want known if there is new firmware for the firewall ?
I cannot seem to find one on the rest api but could be wrong!
TIA
from powerfgt.
it is good ?
from powerfgt.
@alagoutte where in your script is this?
I would like to use similar in mine
TIA
from powerfgt.
@alagoutte where in your script is this?
I would like to use similar in mineTIA
You need to use the Invoke-FGTRestMethod....
from powerfgt.
hi @JimBobUKII it is good ? i can close the issue ?
from powerfgt.
Related Issues (20)
- Error connecting with v0.5.0 HOT 2
- Get IPsec vpn phase1 PSK HOT 6
- Filtering does not work correctly in old operating systems (5.x) HOT 10
- Align Filtering with FortiManager (PowerFMG) HOT 1
- Display the progress BAR HOT 5
- Bug with diacritics HOT 9
- Upgrade Path HOT 3
- Upgrade path error HOT 2
- Backup config isn't working HOT 1
- When using the "Remove-FGTFirewallAddressGroupMember" cmdlet, nothing happens HOT 12
- Reg Connect-FGT HOT 4
- Connecting with FortiToken? HOT 3
- Getting Arp Table HOT 2
- Can you create new users? HOT 9
- Upload and replace renewed SSL Certificate offline HOT 3
- Move-FGTFirewallPolicy function problem HOT 1
- Custom HTTPS port? HOT 1
- Error when using "-since" option with Get-FGTLogTraffic command HOT 2
- Unexpected behavior with log search - Get-FGTLogTraffic HOT 6
- MAC address feature request! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerfgt.