Hi, this is my first question so bare with me if i create more questions than answers.
Im trying to snapshot a data disk attached to one of my VM. I already snapped the OS disk, but i dont know how to do the same for my other vhd.
The Microsoft Doc use the OS disk in their example.
This is what im using right now:
$snapshot = New-AzureRmSnapshotConfig `
-SourceUri $vm.StorageProfile.OsDisk.ManagedDisk.Id `
-Location $location `
-CreateOption copy
I would really appreciate your help.
Cheers.