--- title: "Find-VBRHvEntity" description: "Returns Hyper-V objects. Platform: Hyper-V Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet returns an array of Hyper-V objects." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/find-vbrhventity.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Managing Infrastructure > Find-VBRHvEntity" dateModified: "2026-08-19" --- # Find-VBRHvEntity ## Short Description Returns Hyper-V objects. **Platform**: Hyper-V **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets: ## Detailed Description This cmdlet returns an array of Hyper-V objects. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Hosts

Defines that the cmdlet will return an array of hosts.

Default: False.

SwitchParameter

False

Named

False

HostsAndVMs

Defines that the cmdlet will return an array of hosts and VMs.

Default: False.

SwitchParameter

False

Named

False

HostsAndVolumes

Defines that the cmdlet will return an array of hosts and volumes.

Default: False.

SwitchParameter

False

Named

False

Name

Specifies an array of entity names. The cmdlet will return entities with these names.

String[]

False

Named

False

Server

Specifies an array of Hyper-V hosts. The cmdlet will return entities created on these hosts.

Accepts the CHost[] object. To get this object, run the Get-VBRServer cmdlet.

CHost[]

False

Named

True (ByPropertyName, ByValue)

Tags

Defines that the cmdlet will return an array of tags.

Note: To specify the tag name, provide the Name parameter.

Default: False.

SwitchParameter

False

Named

False

VMGroups

Defines that the cmdlet will return an array of VM groups.

Default: False.

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the following Hyper-V objects: - `CRootItem` - `CHvHostItem` - `CHvVmItem` ## Examples ::: example ### Example 1. Getting all Hosts and VMs Available on Hyper-V This example shows how to get a list of all hosts and VMs available on the `HvHost` Hyper-V server. ``` $server = Get-VBRServer -Name "HvHost" Find-VBRHvEntity -Server $server -HostsAndVMs ``` Perform the following steps: 1. Run the [`Get-VBRServer`](get-vbrserver.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$server` variable. 2. Run the `Find-VBRHvEntity` cmdlet. Set the `$server` variable as the `Server` parameter value. Provide the `HostsAndVMs` parameter. ::: ::: example ### Example 2. Getting all Hosts Available on Hyper-V This example shows how to get a list of all hosts available on the `HvHost` Hyper-V server. ``` $server = Get-VBRServer -Name "HvHost" Find-VBRHvEntity -Server $server -Hosts ``` Perform the following steps: 1. Run the [`Get-VBRServer`](get-vbrserver.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$server` variable. 2. Run the `Find-VBRHvEntity` cmdlet. Set the `$server` variable as the `Server` parameter value. Provide the `Hosts` parameter. ::: ::: example ### Example 3. Getting all Hosts and Volumes Available on Hyper-V This example shows how to get a list of all hosts and volumes available on the `HvHost` Hyper-V server. ``` $server = Get-VBRServer -Name "HvHost" Find-VBRHvEntity -Server $server -HostsAndVolumes ``` Perform the following steps: 1. Run the [`Get-VBRServer`](get-vbrserver.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$server` variable. 2. Run the `Find-VBRHvEntity` cmdlet. Set the `$server` variable as the `Server` parameter value. Provide the `HostsAndVolumes` parameter. ::: ::: example ### Example 4. Getting all Hyper-V Tags This example shows how to get a list of all tags available on the `HvHost` Hyper-V server. ``` $server = Get-VBRServer -Name "HvHost" Find-VBRHvEntity -Server $server -Tags ``` Perform the following steps: 1. Run the [`Get-VBRServer`](get-vbrserver.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$server` variable. 2. Run the `Find-VBRHvEntity` cmdlet. Set the `$server` variable as the `Server` parameter value. Provide the `Tags` parameter. ::: ## Related Commands [`Get-VBRServer`](get-vbrserver.md)