Previous Topic: View Virtual Machines that are Powered OffNext Topic: Wake a Virtual Machine Using DSM Explorer


Wake a Virtual Machine Using the CLI

You can wake a virtual machine using the CLI. For example, when you want to wake multiple virtual machines using a batch script. The following command wakes a virtual machine:

caf sendwol [user username password password] vm vGUID guid vsvr url rviagent fqdn
username and password

Specifies the credentials of an administrative user on the AM remote agent computer. When you use the same computer credential that you are executing the CLI, you can skip the parameters.

vm

Specifies that virtual WOL must be performed.

vGUID

Specifies the ID of the virtual machine as known to the host. The ID can be a virtual GUID, system ID, or serial number depending on the platform virtualization server type.

vsvr

Specifies the URL of the virtual server host of the current virtual machine.

rviagent

Specifies the FQDN of the AM remote agent that discovered the virtual machine.

Virtual WOL Example

This example performs virtual WOL on a virtual machine:

caf sendwol user root password secret vm vsvr https://virt.acme.com/sdk vguid 123456 rviagent rvi3.acme.com

Note: For more detailed information about CAF commands, type caf <command> /? at the command prompt.