Update‐OPNsense - fvanroie/PS_OPNsense GitHub Wiki
Update the OPNsense server base OS and packages
Update-OPNsense [-WhatIf] [-Confirm] [<CommonParameters>]The Update-OPNsense cmdlet will run the update tool and install the pending updates on the OPSsense server. Use the Get-OPNsense cmdlet to retrieve the number of updates pending and to check whether a reboot will be required.
Because the server will reboot automatically when required, user confirmation is requested before updating the OPNsense server. You must specify the -Confirm parameter if you want to reboot the server without user intervention.
-WhatIf <SwitchParameter>
| Required? | false |
| Position? | named |
| Default Value? | |
| Pipeline Input? | false |
-Confirm <SwitchParameter>
Ask user confirmation before updating the OPN server.
| Required? | false |
| Position? | named |
| Default Value? | |
| Pipeline Input? | false |
Update-OPNsense -VerboseUpdate-OPNsense -Confirm:$false | Format-Table -Wrap