SophosFirewall.Core

1.4.0

Core helper functions for Sophos Firewall API modules. Provides session management, API communication, XML escaping, and response validation.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name SophosFirewall.Core -RequiredVersion 1.4.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name SophosFirewall.Core -Version 1.4.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • Jan Weis

Tags

Sophos Firewall XGS SFOS API Core Helper

Functions

Connect-SfosFirewall Disconnect-SfosFirewall Get-SfosSession Invoke-SfosApi Get-SfosApiStatus Assert-SfosApiReturnSuccess Resolve-SfosParameters ConvertTo-SfosXmlEscaped ConvertFrom-SfosArchive Connect-SfosWebAdmin Invoke-SfosWebAdminRequest Connect-SfosCliConsole Send-SfosCliInput Receive-SfosCliOutput Disconnect-SfosCliConsole

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

1.4.0: Adds two further ways to reach the appliance alongside the documented XML API. Connect-SfosWebAdmin and Invoke-SfosWebAdminRequest reach the web admin console for screens the XML API does not cover; both are undocumented and firmware-dependent. Connect-SfosCliConsole, Send-SfosCliInput, Receive-SfosCliOutput and Disconnect-SfosCliConsole reach the appliance device console; only the admin and support accounts may open it, it asks for the account password again, and an open session has to be closed explicitly. New -AcceptLoginDisclaimer switch on the connect cmdlets: where the appliance has a login disclaimer configured, a connection attempt without this switch now reports the disclaimer text instead of failing with an unrelated error, and the switch is the only way to accept it - no cmdlet accepts a disclaimer on the caller's behalf.

FileList

Version History

Version Downloads Last updated
1.4.4 100 8/27/2026
1.4.0 (current version) 100 8/22/2026
1.3.5 49 8/18/2026
1.3.0 43 8/13/2026
1.1.0 9 8/11/2026