Set‐OPNsense - fvanroie/PS_OPNsense GitHub Wiki

Synopsis

Configures the OPNsense firmware settings.

Syntax

Set-OPNsense [-Mirror <String>] [-Flavour <String>] [-Subscription <String>]

Description

Use the Set-OPNsense cmdlet to configure the settings op the OPNsense firmware. These settings include the firmware mirror, flavour and subscription.

Use the Get-OPNsense -FirmwareOptions command to retrieve the options. Use the Get-OPNsense -Mirror command to retrieve the available mirrors.

Parameters

-Mirror   <String>

The URi of the firmware mirror

Required? false
Position? named
Default Value?
Pipeline Input? false

-Flavour   <String>

The firmware flavour to use openssl, libressl, or a custom string.

Required? false
Position? named
Default Value?
Pipeline Input? false

-Subscription   <String>

The subscription location to use on the specified mirror. The location is appended to the mirror URI.

Required? false
Position? named
Default Value?
Pipeline Input? false

Examples

Basic example

Set-OPNsense -Mirror 'https://opnsense-mirror.hiho.ch' -Flavour 'libressl' -Subscription ''
⚠️ **GitHub.com Fallback** ⚠️