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

Checks the availability of a storage account name.

Syntax

Get-AzureRmStorageAccountNameAvailability
   [-Name] <String>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <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

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