Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Lock‐OPNsensePackage

fvanroie edited this page Dec 2, 2017 · 5 revisions

Synopsis

Lock a Package in OPNsense

Syntax

Lock-OPNsensePackage [-Name] <String[]> [<CommonParameters>]

Description

The Lock-OPNsensePackage cmdlet locks the version of a package. It prevents the package from being updated by subsequent OPNsense updates. Use the to prevent unintended upgrades or downgrade to the package.

Parameters

-Name   <String[]>

The name of the package to be locked

Required? true
Position? 1
Default Value?
Pipeline Input? true (ByValue, ByPropertyName)

Examples

Basic Example

Lock-OPNsensePackage -Name 'xen-guest-tools'

Lock multiple Packges

Lock-OPNsensePackage -Name 'unixODBC','xen-guest-tools' -Verbose
Clone this wiki locally