Azure-VM-Snapshots
-------------------------------------Powershell Functions for Creating Azure RM VM Snapshots
Usage:
Load the Functions:
C:> . .\AzureSnapFunctions.PS1
Create a New snapshot for all VHDs in a VM
C:> Snap-AzureRMVM -VMName MyVM -SnapshotName "Snap 1"
View the snapshots for all VHDs on a VM
C:> Get-AzureRMVMSnap -VMName MyVM
Delete all snapshots for all VHDs on a VM
C:> Delete-AzureRMVMSnap -VMName MyVM
Revert to a snapshot for all VHDs on a VM
C:> Revert-AzureRMVMSnap -VMName MyVM