Get‐OPNsense - fvanroie/PS_OPNsense GitHub Wiki
Return the basic status information about the OPNsense server
Get-OPNsense [-Mirror] [<CommonParameters>]Get-OPNsense -Changelog -Version <String> [<CommonParameters>]Use this command to list basic status information of the OPNsense server, like its Product Version and Product Name. The command will first contact the mirror repository and check if any updates are available.
Use the Get-OPNsense cmdlet to retrieve the number of updates pending and to check whether a reboot will be needed. If updates are available, use the Update-OPNsense cmdlet to install them and reboot the server when required.
-Mirror <SwitchParameter>
List the OPNsense package mirrors
| Required? | false |
| Position? | named |
| Default Value? | |
| Pipeline Input? | false |
-Changelog <SwitchParameter>
| Required? | true |
| Position? | named |
| Default Value? | |
| Pipeline Input? | false |
-Version <String>
| Required? | true |
| Position? | named |
| Default Value? | |
| Pipeline Input? | false |
Get-OPNsense -VerboseGet-OPNsense -Mirror | Where-Object { -Not $_.Commercial }