VMware Cloud Community
gamename
Enthusiast
Enthusiast

Cancelling A Clone While In Progress?

Hi,

Is it possible to cancel a clone while it is still in progress? If so, can it be done via PowerCLI?   Couldn't find anything in the docs.

Thanks,

-T

0 Kudos
2 Replies
LucD
Leadership
Leadership

Yes, but ...

First, not all task are cancelable.

When you run the clone with the RunAsync parameter you should be able to get the Task object, and then call the Stop-Task cmdlet with that Task.

See the help on that cmdlet to get an example


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

0 Kudos
gamename
Enthusiast
Enthusiast

Thanks!

0 Kudos