We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f1c58a commit 4c58d89Copy full SHA for 4c58d89
Src/Private/Get-AbrFgtSystem.ps1
@@ -627,8 +627,12 @@ function Get-AbrFgtSystem {
627
628
# Fetch HA Configuration
629
$haConfig = Get-FGTSystemHA
630
- $haPeers = Get-FGTMonitorSystemHAPeer
631
- $haChecksums = Get-FGTMonitorSystemHAChecksum
+ try {
+ $haPeers = Get-FGTMonitorSystemHAPeer
632
+ $haChecksums = Get-FGTMonitorSystemHAChecksum
633
+ } catch {
634
+ Write-Warning "HA Peer/Checksum are not available before FortiOS 6.2.x"
635
+ }
636
637
if ( $haConfig.mode -ne 'standalone' -and $infoLevel.System -ge 1) {
638
Section -Style Heading3 'High Availability' {
0 commit comments