Skip to content

Instantly share code, notes, and snippets.

@gbellmann
Created November 24, 2015 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gbellmann/26cb55f38dc49cc515de to your computer and use it in GitHub Desktop.
Save gbellmann/26cb55f38dc49cc515de to your computer and use it in GitHub Desktop.
$storageAccountName = "<StorageAccountName>" # Nombre de la cuenta de Storage
$containerName="<ContainerName>" # Nombre del Contenedor que crearemos
# Creamos el objeto de contexto que representa a la cuenta de Storage
$storageAccountKey = Get-AzureStorageKey $storageAccountName | %{ $_.Primary }
$destContext = New-AzureStorageContext -StorageAccountName $storageAccountName
-StorageAccountKey $storageAccountKey
# Creamos el Contenedor en Blob storage
New-AzureStorageContainer -Name $containerName -Context $destContext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment