Skip to content

Instantly share code, notes, and snippets.

@mritsurgeon
Created February 8, 2020 19:06
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 mritsurgeon/c7448791e116dd7e3487ce545b590ddc to your computer and use it in GitHub Desktop.
Save mritsurgeon/c7448791e116dd7e3487ce545b590ddc to your computer and use it in GitHub Desktop.
Azure VAriable for restore
$accountCloud = Get-VBRAzureAccount -Type ResourceManager -Name "yournamet@yourdomain.com"
$subscription = Get-VBRAzureSubscription -Account $accountCloud -Name "your subscription"
$storageaccount = Get-VBRAzureStorageAccount -Subscription $subscription -Name "southafrica01"
$location = Get-VBRAzureLocation -Subscription $subscription -Name "southafricanorth"
$network = Get-VBRAzureVirtualNetwork -Subscription $subscription -Name "SouthAfrica-Vlan"
$subnet = Get-VBRAzureVirtualNetworkSubnet -Network $network -Name "default"
$resourcegroup = Get-VBRAzureResourceGroup -Subscription $subscription -Name "SouthAfrica-Demo"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment