Scripting to SonicWall Firewall

There are a couple of example here: Filezilla Server PS Script

The next major version will have this functionality as part of the UI.