Find-VBRViEntity
Short Description
Looks for VMware objects.
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
HostsAndClusters (Default)Find-VBRViEntity [-Name <String[]>] [-Server <CHost[]>] [-HostsAndClusters] [<CommonParameters>]
-
VMsAndTemplatesFind-VBRViEntity [-Name <String[]>] [-Server <CHost[]>] [-VMsAndTemplates] [<CommonParameters>]
-
DatastoresAndVMsFind-VBRViEntity [-Name <String[]>] [-Server <CHost[]>] [-DatastoresAndVMs] [<CommonParameters>]
-
HostsAndDatastoresFind-VBRViEntity [-Name <String[]>] [-Server <CHost[]>] [-HostsAndDatastores] [<CommonParameters>]
-
ResourcePoolsFind-VBRViEntity [-Name <String[]>] [-Server <CHost[]>] [-ResourcePools] [<CommonParameters>]
-
ServersFind-VBRViEntity [-Name <String[]>] [-Server <CHost[]>] [-Servers] [<CommonParameters>]
-
TagsFind-VBRViEntity [-Name <String[]>] [-Server <CHost[]>] [-Tags] [<CommonParameters>]
Detailed Description
This cmdlet returns VMware objects connected to a specified ESXi host.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DatastoresAndVMs |
Defines that the cmdlet will return only datastores and VMs.
Default: |
|
False |
Named |
False |
|
HostsAndClusters |
Defines that the cmdlet will return only hosts and clusters.
Default: |
|
False |
Named |
False |
|
HostsAndDatastores |
Defines that the cmdlet will return only hosts and datastores.
Default: |
|
False |
Named |
False |
|
Name |
Specifies an array of VMware object names. The cmdlet will return entities with these names. |
|
False |
Named |
False |
|
ResourcePools |
Defines that the cmdlet will return only resource pools.
Default: |
|
False |
Named |
False |
|
Server |
Specifies an array of ESXi hosts. The cmdlet will return entities created on these hosts.
Accepts the |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
Servers |
Defines that the cmdlet will return only VMware hosts.
Default: |
|
False |
Named |
False |
|
Tags |
Defines that the cmdlet will return only tags.
Default: Note:
|
|
False |
Named |
False |
|
VMsAndTemplates |
Defines that the cmdlet will return only VMs, folders and templates. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the following VMware objects connected to a specified ESXi host:
CVcItemCViFolderItemCViDatacenterItemCEsxItemCViClusterItemCViResourcePoolItemCViVmItemCViVirtualAppItemCViTagItem
Examples
Example 1. Getting List of Hosts and Clusters Connected to Specific ESXI Hosts
|
This example shows how to get a list of hosts and clusters that are connected to the following ESXi hosts:
Perform the following steps:
|
Example 2. Getting Specific Cluster from ESXI Host
|
This example shows how to get the
Perform the following steps:
|
Example 3. Getting List of Resource Pools
|
This example shows how to get a list of resource pools with names starting with
Perform the following steps:
|
Example 4. Getting List of VMware Tags
|
This example shows how to get a list of the
Perform the following steps:
|
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.