mirror of
https://github.com/freedbygrace/PSOPNSenseAPI.git
synced 2026-08-12 03:38:03 +00:00
Added comprehensive cmdlet documentation and updated module version to 2025.04.15.1033
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# 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
|
||||
```powershell
|
||||
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](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||||
|
||||
## 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.
|
||||
|
||||
## RELATED LINKS
|
||||
|
||||
[Connect-OPNSense](Connect-OPNSense.md)
|
||||
[Disconnect-OPNSense](Disconnect-OPNSense.md)
|
||||
Reference in New Issue
Block a user