Fixed typo - print $vpg2.name (not vpg1) when resuming
Rewritten using the new Zerto.ZVM.Commandlets module - see https://www.powershellgallery.com/packages/Zerto.Zvm.Commandlets and https://s3.amazonaws.com/zertodownload_docs/Latest/cmdlets/index.html?cb=1628171674 for more info.