Get-​Azure​Rm​Media​Service​Name​Availability

Checks whether a media service name is available. Media service names are globally unique.

Syntax

Get-AzureRmMediaServiceNameAvailability
   [-AccountName] <String>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [<CommonParameters>]

Description

The Get-AzureRmMediaServiceNameAvailability cmdlet checks whether a media service name is available. Media service names are globally unique.

Examples

Example 1: Check whether a Media Service name is available

PS C:\>Get-AzureRmMediaServiceNameAvailability -AccountName "MediaService1"

This command checks if the name MediaService1 is available.

Required Parameters

-AccountName

Specifies the name of the media service that this cmdlet gets.

Type:String
Aliases:Name, ResourceName
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

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