Remove-​Azure​RM​Managed​Subscription

The cmdlet Remove-AzureRMManagedSubscription removes the specified subscription as an administrator

Syntax

Remove-AzureRMManagedSubscription
      [-InformationAction <ActionPreference>]
      [-InformationVariable <String>]
      [-PipelineVariable <String>]
      -TargetSubscriptionId <Guid>
      [<CommonParameters>]

Examples

Example 1:

Remove-AzureRmManagedSubscription -TargetSubscriptionId "83a3cff6-b856-4db1-8d1b-86386ff9d515"

Description

-----------

The example deletes the specific subscription 83a3cff6-b856-4db1-8d1b-86386ff9d515. This is executed after logging in to the azure stack environment as a service administrator

Required Parameters

-TargetSubscriptionId

Specifies the Subscription Id that needs to be removed

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

Optional Parameters

-InformationAction

Not SpecifiedThe following values are permitted for this object type.

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

Not Specified

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

Not Specified

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

Outputs

Microsoft.Azure.AzureOperationResponse