Get‐OPNsensePackage - fvanroie/PS_OPNsense GitHub Wiki
Get a list of the packages in OPNsense
Get-OPNsensePackage [[-Name] <String[]>] [-Installed] [-Locked] [<CommonParameters>]Retrieve a list of the packages in OPNsense.
Retrieve information about one or more packages in OPNsense.
-Name <String[]>
The name(s) of the packages to display.
| Required? | false |
| Position? | 0 |
| Default Value? | |
| Pipeline Input? | true (ByValue, ByPropertyName) |
-Installed <SwitchParameter>
Only list the packages that are installed on the OPNsense server. To return the packages that are not installed, specify -Installed:$false
| Required? | false |
| Position? | named |
| Default Value? | $true |
| Pipeline Input? | false |
-Locked <SwitchParameter>
Only list the packages that have been locked. To return the packages that are unlocked, specify -Locked:$false
| Required? | false |
| Position? | named |
| Default Value? | $true |
| Pipeline Input? | false |
Get-OPNsensePackageGet-OPNsensePackage -Name 'ac*','wol'Get-OPNsensePackage -Name '*-devel' -Installed -Locked:$false