Enable-FirewallStatefulFtp

Enables the StatefulFtp Windows firewall setting.

Syntax

Enable-FirewallStatefulFtp [-WhatIf] [-Confirm] [<CommonParameters>]

Description

Uses the netsh command to enable the StatefulFtp Windows firewall setting.

If the firewall isn't configurable, writes an error and returns without making any changes.

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
WhatIf SwitchParameter false false
Confirm SwitchParameter false false
CommonParameters This cmdlet supports common parameters. For more information type
Get-Help about_CommonParameters.

EXAMPLE 1

Enable-FirewallStatefulFtp

Enables the StatefulFtp Windows firewall setting.