Remove-​Azure​Media​Services​Account

Removes the specified Azure Media Services account.

Syntax

Remove-AzureMediaServicesAccount
      [-Force]
      -Name <String>
      [-Profile <AzureSMProfile>]
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

This topic describes the cmdlet in the 0.8.10 version of the Microsoft Azure PowerShell module. To get the version of the module you're using, in the Azure PowerShell console, type (Get-Module -Name Azure).Version.

The Remove-AzureMediaServicesAccount cmdlet removes a Media Services account.

Examples

Example 1: Delete a Media Services account

PS C:\> Remove-AzureMediaServicesAccount -Name "mediaservicesaccount" -Force

Required Parameters

-Name

The Media Services account name.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Force

If the Force switch is specified, the deletion is not confirmed.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False