< Back
Get-FortiGateSystemHAStatus
Post
NAME Get-FortiGateSystemHAStatus
SYNOPSIS
Gets the FortiGate device HA status.
SYNTAX
Get-FortiGateSystemHAStatus [-HostAddress] <String> [[-HostPort] <Int32>] [-Credential] <PSCredential> [-AcceptKey
<SwitchParameter>] [<CommonParameters>]
DESCRIPTION
Gets the FortiGate device HA status.
PARAMETERS
-HostAddress <String>
The SSH host address of the FortiGate device.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-HostPort [<Int32>]
The SSH host port of the FortiGate device.
Required? false
Position? 1
Default value 22
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
The SSH credentials to use.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AcceptKey [<SwitchParameter>]
Automatically accept SSH key.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.String
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-FortiGateSystemHAStatus -HostAddress "192.168.1.99" -Credential (Get-Credential)
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-FortiGateSystemHAStatus -HostAddress "192.168.1.99" -HostPort 22 -Credential (Get-Credential) -AcceptKey
RELATED LINKS
SYNOPSIS
Gets the FortiGate device HA status.
SYNTAX
Get-FortiGateSystemHAStatus [-HostAddress] <String> [[-HostPort] <Int32>] [-Credential] <PSCredential> [-AcceptKey
<SwitchParameter>] [<CommonParameters>]
DESCRIPTION
Gets the FortiGate device HA status.
PARAMETERS
-HostAddress <String>
The SSH host address of the FortiGate device.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-HostPort [<Int32>]
The SSH host port of the FortiGate device.
Required? false
Position? 1
Default value 22
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
The SSH credentials to use.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AcceptKey [<SwitchParameter>]
Automatically accept SSH key.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.String
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-FortiGateSystemHAStatus -HostAddress "192.168.1.99" -Credential (Get-Credential)
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-FortiGateSystemHAStatus -HostAddress "192.168.1.99" -HostPort 22 -Credential (Get-Credential) -AcceptKey
RELATED LINKS