Skip to content

Instantly share code, notes, and snippets.

@torgro
Created January 15, 2017 20:47
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 torgro/dcde09b4e88e3c5ac6b2fb1c5a361074 to your computer and use it in GitHub Desktop.
Save torgro/dcde09b4e88e3c5ac6b2fb1c5a361074 to your computer and use it in GitHub Desktop.
$resource = @{
type = "Microsoft.Storage/storageAccounts"
name = "StorageSimpleVM"
apiVersion = "2016-01-01"
location = "North Europe"
sku = @{
name = "Standard_LRS"
}
kind = "Storage"
properties = @{}
}
# Creates a new StorageAccount with name StorageSimpleVM
New-ARMresource @resource | Add-ARMresource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment