Citrix MCS and Powershell 'snapshot name is already in use'

Badge +2
I try to create a Snapshot from Citrix via Host connection.

New-HypVMSnapshot -LiteralPath "XDHyp:HostingUnits....VirtualMachines.folderVDI-Test.vm" -SnapshotName "snapshot1"

whatever name i try i get an error:New-HypVMSnapshot : The supplied snapshot name is already in use.At line:1 char:1+ New-HypVMSnapshot -LiteralPath "XDHyp:HostingUnits...VirtualMac ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [New-HypVMSnapshot], InvalidOperationException + FullyQualifiedErrorId : Citrix.XDPowerShell.HostStatus.SnapshotNameAlreadyInUse,Citrix.Host.Sdk.Commands.NewHypVMSnapshotCommand

what am I missing here?

0 replies

Be the first to reply!