Some of these examples will make permanent changes to your OPNsense server. Do not run these scripts against a production environment!
First connect to an OPNsense server, using the Connect.Example.ps1 script. Once you are connected, you can run the other examples in any order you want. Finally, just run Disconnect-OPNsense to logoff.
The examples are only meant to show some of the capabilities of the module. For the full documentation of all cmdlets, please visit the wiki.