Remove-​Azure​RM​Plan

Removes the specified plan.

Syntax

Remove-AzureRMPlan
      [-InformationAction <ActionPreference>]
      [-InformationVariable <String>]
      -Name <String>
      [-PipelineVariable <String>]
      -ResourceGroup <String>
      [<CommonParameters>]

Description

The Remove-AzureRMPlan cmdlet removes the specified plan. For successful removal, the plan must not have any references to offers.

Examples

Example 1: Remove a plan

Remover-AzureRMPlan -Name "ComputePlan"

This example removes the plan named "ComputePlan".

Required Parameters

-Name

Specifies the name of the plan that is to be removed.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroup

Specifies the resource group that contains the plan.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.

Type:ActionPreference
Aliases:infa
Parameter Sets:SilentlyContinue, Stop, Continue, Inquire
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies a variable that is used for storing an informational message.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PipelineVariable

Specifies a variable that stores the value of the current pipeline element.

Type:String
Aliases:pv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Azure.AzureOperationResponse