< Back

Remove-AzureStorageAccount

Wed Jan 30, 2019 5:51 pm

NAME Remove-AzureStorageAccount



SYNOPSIS

Deletes the specified storage account from a subscription.





SYNTAX

Remove-AzureStorageAccount [-StorageAccountName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable

<String>] [<CommonParameters>]





DESCRIPTION

The Remove-AzureStorageAccount cmdlet removes an account from an Azure subscription.





PARAMETERS

-StorageAccountName <String>

Specifies the name of the storage account to remove.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Profile <AzureSMProfile>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationAction <ActionPreference>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>





Required? false

Position? named

Default value None

Accept pipeline input? False

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- Example 1: Remove a storage account --------------------------



PS C:\\>Remove-AzureStorageAccount -StorageAccountName "ContosoStore01"



This command removes the ContosoStore01 storage account from the specified subscription.



RELATED LINKS

Get-AzureStorageAccount

New-AzureStorageAccountSASToken

Set-AzureStorageAccount