< Back

Remove-AzureRmActionGroup

Tue Jan 29, 2019 9:49 pm

NAME Remove-AzureRmActionGroup



SYNOPSIS

Removes an action group.





SYNTAX

Remove-AzureRmActionGroup [-DefaultProfile <IAzureContextContainer>] -InputObject <PSActionGroupResource> [-Confirm] [-WhatIf] [<CommonParameters>]



Remove-AzureRmActionGroup [-DefaultProfile <IAzureContextContainer>] -Name <String> -ResourceGroupName <String> [-Confirm] [-WhatIf]

[<CommonParameters>]



Remove-AzureRmActionGroup [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmActionGroup cmdlet removes an action group.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InputObject <PSActionGroupResource>

The action group resourc



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Name <String>

The name of the action group.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

The resource group nam



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceId <String>

The resource i



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

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

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



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.AzureOperationResponse







NOTES









Example 1: Remove an action group



PS C:\\>Remove-AzureRmActionGroup -ResourceGroup "Default-Web-CentralUS" -Name "myActionGroup"

RequestId StatusCode

--------- ----------

2c6c159b-0e73-4a01-a67b-c32c1a0008a3 OK











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ctiongroup

Set-AzureRmActionGroup

Get-AzureRmActionGroup

New-AzureRmActionGroupReceiver