# Get VM by ID

> `UiPath.HyperV.Activities.GetVMByID`

`UiPath.HyperV.Activities.GetVMByID`

## Description

Retrieves the details of the specified virtual machine.

## Project compatibility

Windows - Legacy | Windows

## Configuration

### Common

* **DisplayName** - The display name of the activity.

### Input

* **VirtualMachineId** - Indicates the unique identifier of the virtual machine. This field supports only strings and `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **VirtualMachine** - Provides details about the virtual machine.
