How do i create an azure storage account using powershell?



  • First create a storage group, see: How do i create an azure resource group using powershell?

    then:

    Create the azure storage account.

    PS /home/training> New-AzStorageAccount -ResourceGroupName $resourceGroup -Name   linxdec -Location $location -SkuName Standard_RAGRS -Kind StorageV2
    
    StorageAccountName ResourceGroupName               Location SkuName        Kind
    ------------------ -----------------               -------- -------        ----
    linxdev      storage-resource-group-linx francecentral Standard_RAGRS Sto…
    

Log in to reply
 

© Lightnetics 2024