Files
PSOPNSenseAPI/docs/cmdlets/Disconnect-OPNSense.md

987 B

Disconnect-OPNSense

SYNOPSIS

Disconnects from an OPNSense firewall.

SYNTAX

Disconnect-OPNSense

DESCRIPTION

The Disconnect-OPNSense cmdlet terminates the connection to an OPNSense firewall.

EXAMPLES

Example 1: Disconnect from an OPNSense firewall

Disconnect-OPNSense

This example disconnects from the currently connected 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

None

NOTES

This cmdlet releases resources used by the connection to the OPNSense firewall.

Connect-OPNSense Get-OPNSenseConnection