Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-AzureNetworkSecurityGroup

Remove-AzureNetworkSecurityGroup

microsoft.azure.commands.network.dll, microsoft.windowsazure.commands.servicemanagement.network.dll

Synopsis

Remove a Network Security Group

Syntax

Remove-AzureNetworkSecurityGroup [-Name] [-ResourceGroupName] [-Force] [-PassThru] [-Profile] [<CommonParameters>]

Detailed Description

Remove a Network Security Group

Parameters

-Name <String>

The name of the Network Security Group to remove.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ResourceGroupName <String>

The name of the Resource Group containing the Network Security Group.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Force <SwitchParameter>

Forces the deletion of the Network Security Group regardless of whether resources are assigned to it.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-PassThru <SwitchParameter>

Indicate if an object should be returned. Returns true if remove is successful.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Profile <AzureProfile>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples