Get-​Azure​Rm​Storage​Account​Name​Availability

Checks the availability of a storage account name.

Syntax

Get-AzureRmStorageAccountNameAvailability
   [-Name] <String>
   [<CommonParameters>]

Description

The Get-AzureRmStorageAccountNameAvailability cmdlet checks whether the name of an Azure Storage account is valid and available to use.

Examples

Example 1: Check availability of a storage account name

PS C:\>Get-AzureRmStorageAccountNameAvailability -Name 'ContosoStorage03'

This command checks the availability of the name ContosoStorage03.

Required Parameters

-Name

Specifies the name of the Storage account that this cmdlet checks.

Type:String
Aliases:StorageAccountName, AccountName
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False