mirror of
https://github.com/freedbygrace/PSOPNSenseAPI.git
synced 2026-07-26 11:58:18 +00:00
1.2 KiB
1.2 KiB
Get-OPNSenseConnection
SYNOPSIS
Gets information about the current OPNSense connection.
SYNTAX
Get-OPNSenseConnection
DESCRIPTION
The Get-OPNSenseConnection cmdlet retrieves information about the current connection to an OPNSense firewall.
EXAMPLES
Example 1: Get connection information
Get-OPNSenseConnection
This example retrieves information about the current connection to an OPNSense firewall.
PARAMETERS
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
System.Object
Returns an object containing information about the current connection, including the server URL and connection status.
NOTES
This cmdlet can be used to verify that a connection to an OPNSense firewall has been established.