You can specify the behavior of vSphere power controls.

1

Log in to vSphere client.

2

On the Home page, select VMs and Templates.

3

Right-click on a virtual machine and select Edit Settings.

4

Select the Options tab.

5

Select VMware Tools.

6

In the right panel, enter the settings you want for the Power Controls, Run VMware Tools Scripts, and Advanced options.

7

Click OK to save your settings and close the dialog box.