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

Enable‐OPNsense

fvanroie edited this page Dec 6, 2017 · 5 revisions

Synopsis

Enable a OPNsense objects

Syntax

Enable-OPNsense [-CaptivePortalZone] [<CommonParameters>]
Enable-OPNsense [-CronJob] [<CommonParameters>]
Enable-OPNsense [-IdsRule] [<CommonParameters>]
Enable-OPNsense [-IdsRuleSet] [<CommonParameters>]
Enable-OPNsense [-IdsUserRule] [<CommonParameters>]
Enable-OPNsense [-ProxyRemoteBlackList] [<CommonParameters>]
Enable-OPNsense [-Route] [<CommonParameters>]
Enable-OPNsense [-TrafficShaperPipe] [<CommonParameters>]
Enable-OPNsense [-TrafficShaperQueue] [<CommonParameters>]

Description

Enables one or more OPNsense objects based on their UUID within the REST api. You can pass multiple UUIDs, but they must all belong to the same object type. You cannot mix UUIDs of different object types. Use Get-OPNsense to retieve the UUID of an object.

Parameters

-CaptivePortalZone   <SwitchParameter>

Enable a CaptivePortal Zone object

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

-CronJob   <SwitchParameter>

Enable a CronJob object

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

-IdsRule   <SwitchParameter>

Enable a IDS Rule object

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

-IdsRuleSet   <SwitchParameter>

Enable a IDS RuleSet object

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

-IdsUserRule   <SwitchParameter>

Enable a IDS UserRule object

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

-ProxyRemoteBlackList   <SwitchParameter>

Enable a Proxy RemoteBlacklist object

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

-Route   <SwitchParameter>

Enable a Route object

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

-TrafficShaperPipe   <SwitchParameter>

Enable a TrafficShaper Pipe object

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

-TrafficShaperQueue   <SwitchParameter>

Enable a TrafficShaper Queue object

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

Examples

Basic Example

$cronJobs = 'b5123c61-c036-4449-b400-9d214b914865', 'fc011654-9bf4-4109-abc5-985929e9a8d3'
Enable-OPNsense -CronJob $cronJobs
Clone this wiki locally