< Back

Get-AzureRmStorageAccountNameAvailability

Tue Jan 29, 2019 10:11 pm

NAME Get-AzureRmStorageAccountNameAvailability



SYNOPSIS

Checks the availability of a Storage account name.





SYNTAX

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





DESCRIPTION

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





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with Azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

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



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Management.Storage.Models.CheckNameAvailabilityResult







NOTES









Example 1: Check availability of a Storage account name



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



This command checks the availability of the name ContosoStorage03.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ailability

Azure Storage Manager Cmdlets