io7m | single-page | multi-page
3.18. vm-export
Previous
3. Command-Line Interface
Up
3.20. vm-import
Next
3.19

# vm-id-of

- 3.19. vm-id-of
  - 3.19.1. Name
  - 3.19.2. Description
  - 3.19.3. Example

3.19.1

## Name

1
vm-id-of - Find the ID of a virtual machine
3.19.2

## Description

1
The vm-id-of command finds the first virtual machine that has a given name and prints the ID of the machine. If the --short option is used, the command will print the ID in a shortened form consumable by bhyve.
2

### 3.19.2.2 Parameters

Parameter | Type | Required | Description
--- | --- | --- | ---
--name | Machine name | true | The name of the machine.
--short | Boolean | false | Specifies whether the output should be in shortened Bhyve-compatible form
--configuration | Path | false | The path to the configuration file (environment variable: $WAXMILL_CONFIGURATION_FILE)
--verbose | Log Level | false | Set the minimum logging verbosity level.

3.19.3

## Example

1

### 3.19.3.1 Example

    $ waxmill vm-id-of --name example
    538a90e4-d50d-4511-8643-ae418279bac4

    $ waxmill vm-id-of --name example --short
    U4qQ5NUNRRGGQ65Bgnm6xA

3.18. vm-export
Previous
3. Command-Line Interface
Up
3.20. vm-import
Next
io7m | single-page | multi-page