# Get VM List

> `UiPath.HyperV.Activities.GetVMList`

`UiPath.HyperV.Activities.GetVMList`

## Description

Retrieves a list of virtual machines.

## Project compatibility

Windows - Legacy | Windows

## Configuration

### Common

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

### Input

* **FilterBy** - Specifies the property that should be used for the filtering operation. The possible values are **Name** and **Location**. The default value is **None**.
* **FilterOperator** - Specifies the operator that needs to be used in the filter expression. The possible values are **Equals**, **Contains**, **StartsWith**, and **EndsWith**. The default value is **None**.
* **FilterValue** - Specifies the value for the property used in the filtering operation. Applicable only if a value is set for the **FilterBy** parameter. This field supports only strings and `String` variables.
* **Generation** - Searches only for the virtual machines that have set a **Generation**value. The possible values are **Generation1** and **Generation2**. The default value is **None**.
* **IncludeGuestOSDetails** - Specifies if the output should include details about the guest operating system, such as **GuestOS**, **IPv4Addresses**, **IPv6Addresses**, etc. The default value is **False**.
* **State** - Searches only for those virtual machines that have the **State**parameter set. The possible values are **Stopped**, **Paused**, and **Running**. The default value is **None**.

### Misc

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

### Output

* **VMList** - Provides the list of the virtual machines matching the set filter.
