Remove-​Azure​RM​Offer

Removes the specified offer.

Syntax

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

Description

The Remove-AzureRmOffer cmdlet removes the specified offer.

Examples

Example 1: Remove an offer

Remove-AzureRMOffer -Name "ComputeOffer" -ResourceGroup "ComputeOfferGroup"

This example removes the offer named "ComputeOffer" that is contained in the resource group "ComputeOfferGroup".

Required Parameters

-Name

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

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

Specifies the name of the resource group that contains the offer.

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