title: where azure snapshots are stored with this script
body: <p>I found this blog post</p>
  
  <p><a href="https://www.techmanyu.com/automate-disk-snapshots-azure/" rel="nofollow noreferrer">https://www.techmanyu.com/automate-disk-snapshots-azure/</a></p>
  
  <p>And the author showes this script.</p>
  
  <pre><code>$clientID = "&lt;client id&gt;"
  $key = "&lt;client secret&gt;"
  $SecurePassword = $key | ConvertTo-SecureString -AsPlainText -Force
  $cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $clientID, $SecurePassword
  Add-AzureRmAccount -Credential $cred -Tenant "&lt;Tenant ID&gt;" -ServicePrincipal;
  $disks=Get-AzureRmDisk | Select Name,Tags,Id,Location,ResourceGroupName ; 
  foreach($disk in $disks) { foreach($tag in $disk.Tags) { if($tag.Snapshot -eq 'True') {$snapshotconfig = New-AzureRmSnapshotConfig -SourceUri $disk.Id -CreateOption Copy -Location $disk.Location -AccountType PremiumLRS;$SnapshotName=$disk.Name+(Get-Date -Format "yyyy-MM-dd");New-AzureRmSnapshot -Snapshot $snapshotconfig -SnapshotName $SnapshotName -ResourceGroupName $disk.ResourceGroupName }}}
  </code></pre>
  
  <p>Trying to understand the script, I came up with the question, where are the snapshots stored? In the same managed disk as the VM disk?</p>