< Back

Test-CFirewallStatefulFtp

Sun Jan 12, 2020 11:22 pm

NAME Test-CFirewallStatefulFtp



SYNOPSIS

Tests if the firewall's `StatefulFtp` setting is enabled.





SYNTAX

Test-CFirewallStatefulFtp [<CommonParameters>]





DESCRIPTION

Returns `True` if the firewall's `StatefulFtp` setting is enabled, `False` otherwise.



If the firewall isn't configurable, writes an error and returns nothing, which will probably be interpreted by

your script as `False`. Can't help you there. At least you'll get an error message.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Boolean.





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Test-CFirewallStatefulFtp



Returns `True` if the firewall's `StatefulFtp` setting is enabled, `False` otherwise.











RELATED LINKS

Assert-CFirewallConfigurable