Get-VBRViVM
Short Description
Returns VMs available on a vCenter Server.
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Name (Default)Get-VBRViVM -Server <CHost> [-Name <String[]>] [<CommonParameters>]
-
ReferenceGet-VBRViVM -Server <CHost> [-Reference <String[]>] [<CommonParameters>]
Detailed Description
This cmdlet returns VMs available on a vCenter Server. Use this cmdlet to get VMs that will be used for mapping in a universal CDP policy.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Name |
Specifies an array of VM names. The cmdlet will return VMs with these names. |
|
False |
Named |
False |
|
Reference |
Specifies an array of references (MoRefs) for VMs. The cmdlet will return VMs with these references. |
|
False |
Named |
False |
|
Server |
Specifies a vCenter Server. The cmdlet will return VMs available on this server.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns an array of VBRViVM objects that contain VMware VMs available on the specified vCenter Server.
Examples
Example 1. Getting All VMs Available on vCenter Server
|
This example shows how to get all VMs available on the
Perform the following steps:
|
Example 2. Getting VMs Available on vCenter Server by Names
|
This example shows how to get the
Perform the following steps:
|
Example 3. Getting VMs Available on vCenter Server by References
|
This example shows how to get VMs with the
Perform the following steps:
|
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.