VMware Cloud Community
Grzesiekk
Expert
Expert

Remove-Snapshot An item with the same key has already been added.

Hi all,

is there some explanation for this ?

Remove-Snapshot : 7/26/2012 2:41:28 PM    Remove-Snapshot        An item with the same key has already been added.

get-vm myVM |Get-Snapshot |Remove-Snapshot

There was 1 snapshot for this vm.

Task was triggered, snapshot was deleted, but why do i receive this error frmo remove-snapshot ?

PowerCLI Version
----------------
   VMware vSphere PowerCLI 5.0.1 build 581491

VC is 4.1

When i will do the same for a vm with snapshot that is running within VC 5.0 i got no error like this.

Is it possible that this is a bug ?

Regards,

Greg

--- @blog https://grzegorzkulikowski.info
0 Kudos
1 Reply
LucD
Leadership
Leadership

In any case, you're not the only one seeing this.

Have a look at An item with the same key has already been added.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos