VMware Horizon Community
NieMa
Contributor
Contributor

VMware View - Run local script before Deleting Linked Clone

Hello guys,

just a quick question: It is possible to run a script located on a linked clone, e.g. C:\script.cmd when deleting a linked clone from view administrator?

Example:

Administrator triggers "delete vm" in view administrator or reduces the number of linked clones in a desktop pool

VM gets powered on, if powered off

VM executes script C:\script.cmd

VM shuts down

VM gets deleted

Background: We need to remove entries from a third party database and it is only possible to remove this entry when a command is executed from the client.

I have looked into VMware View Deletion Scripting but I am not really into it as it is sparsely documentated.

0 Kudos
1 Reply
npeter
Expert
Expert

Hi,

Please refer to this http://www.vmware.com/pdf/view40_deletionscripting.pdf

If you have already checked this doc and have doubts about configuration, please let us know.

-noble

-nObLe
0 Kudos