# Performing Power Operations on Virtual Machines

## <mark style="color:green;">**Overview**</mark> <a href="#overview" id="overview"></a>

You can perform power operations on virtual machines, such as powering on or off a virtual machine, suspending or resetting a virtual machine, or shutting down the guest operating system of a virtual machine.

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

{% tabs %}
{% tab title="I. Power on a Virtual Machine" %}
**Step 1:** On the **Virtual Data Center** dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select **Virtual Machines**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FNQSNrt4Jt90dxoJ2VQza%2Fimage.png?alt=media&#x26;token=69dce21d-ef16-4e94-936c-15bbbf265e33" alt=""><figcaption></figcaption></figure>

**Step 2:** Click **card view**

**Step 3:** On the card of the virtual machine that you want to start, click **ACTIONS > Power > Power On**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FNyqpviyItIX5o284CgEr%2Fimage.png?alt=media&#x26;token=88c1cee2-1a70-45a8-b8c0-5e0ef3ac6b80" alt=""><figcaption></figcaption></figure>

A powered-on virtual machine displays a Powered-on status in green.

<div align="left"><figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FXcgazB32T8UkzzSwImhL%2Fimage.png?alt=media&#x26;token=8cbaab4f-2d02-4fb2-82c9-88e3c236a4ac" alt=""><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="II. Shut down Guest OS, Power off, Reset a Virtual Machine" %}

* The Shut Down Guest OS for VM action shuts down the guest operating system and powers off the virtual machine. VMware Tools must be installed and running on the VM.
* Powering off a virtual machine is the equivalent of <mark style="color:red;">**powering off a physical machine**</mark><mark style="color:red;">.</mark>
* Resetting a virtual machine clears the state (memory, cache, and so on), but the virtual machine continues to run. Resetting a virtual machine is the equivalent of pushing the reset button of a physical machine. It initiates a hard reset of the operating system without changing the virtual machine's power state.

**Step 1:** On the **Virtual Data Center** dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select **Virtual Machines**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FB084g001HskO2jf3g6h5%2Fimage.png?alt=media&#x26;token=9b81fa90-9858-448c-b420-fb30746be8e4" alt=""><figcaption></figcaption></figure>

**Step 2:** Click **card view**

**Step 3:** In the card of the virtual machine that you want to power off, click **ACTIONS** > **Power** > **Power Off**\\**Shut Down Guest OS**\\**Reset**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FyNSjeCLQlrM1IKsoHDXt%2Fimage.png?alt=media&#x26;token=1e33a088-f86b-4003-b658-83141cf0e5a4" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="III.Suspend a Virtual Machine" %}

* Suspending a virtual machine preserves its current state by writing the memory (RAM) to disk.
* The suspend and resume feature is useful when you want to save your virtual machine's current state (RAM) and continue work later from the same state.

**Step 1:** On the **Virtual Data Center** dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select **Virtual Machines**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2Fa2FcosT36L91edMmIhGD%2Fimage.png?alt=media&#x26;token=c683c972-31b4-4d07-b2d7-b478aa3a6eaf" alt=""><figcaption></figcaption></figure>

**Step 2:** Click **card view**

**Step 3:** In the card of the virtual machine that you want to start, click **ACTIONS** > **Power** > **Suspend**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FUpQ0F2hVyEIs8BSnKi9i%2Fimage.png?alt=media&#x26;token=a8fcabf9-1386-41a1-ace5-fb25999f550a" alt=""><figcaption></figcaption></figure>

The virtual machine is suspended, but its state is preserved.

<div align="left"><figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FJcZkF5X47pfkKqnUduxt%2Fimage.png?alt=media&#x26;token=b7a1d44e-1b80-48cb-be67-0ab161b793c0" alt=""><figcaption></figcaption></figure></div>

<mark style="color:red;">**Attention:**</mark> From the **VM Suspended state**, just **power on** if you need the VM to run with the current memory.
{% endtab %}

{% tab title="IV. Discard the suspended state of a Virtual Machine" %}
If a virtual machine is in a **suspended** **state** and you no longer need to resume the use of the machine, you can **discard the suspended state**. Discarding the suspended state removes the saved memory and returns the machine to a **powered-off state**.

**Step 1:** On the **Virtual Data Center** dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select **Virtual Machines**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F0NcQ6Xy1RwjRgiO3pnWi%2Fimage.png?alt=media&#x26;token=580f590d-640b-4798-a132-698e2ffcda7f" alt=""><figcaption></figcaption></figure>

**Step 2:** Click **card view**

**Step 3:** In the card of the virtual machine that you want to start, click **ACTIONS > Power >** **Discard the suspended state**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FPJXbPsWW478mrd0TZAon%2Fimage.png?alt=media&#x26;token=ac903493-0050-4c64-a15f-a8118330754e" alt=""><figcaption></figcaption></figure>

The state is discarded, and the virtual machine is **powered off**.

<div align="left"><figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FWsOy565omIiLjLffF2A8%2Fimage.png?alt=media&#x26;token=ccc7f3e5-eaac-471e-9d1e-e0932eea8519" alt=""><figcaption></figcaption></figure></div>
{% endtab %}
{% endtabs %}
