Add-VBRJobObject (obsolete)
Short Description
Adds VMs to existing job.
Note |
|
This cmdlet is obsolete. The cmdlet still works, but it is recommended to create a new backup job using the |
Platform: VMware
Syntax
This cmdlet provides the following parameter sets:
-
ObjectAdd-VBRJobObject [-Job] <CBackupJob> [-Server] <CHost> [-Objects] <String[]> [<CommonParameters>]
-
EntityAdd-VBRJobObject [-Job] <CBackupJob> [-Server] <CHost> [-Entities] <CEntity[]> [<CommonParameters>]
Detailed Description
This cmdlet allows you to add VMs or VM containers to existing backup, replication or copy job.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Entities |
Specifies the VMs or VM containers you want to add to the job. You can assign multiple VMs to this object.
Accepts the |
|
True |
2 |
True (ByPropertyName, ByValue) |
|
Job |
Specifies the job you want to add VMs to.
Accepts the |
|
True |
0 |
False |
|
Objects |
Specifies the string with the names of VMs you want to add to the job. You can assign multiple VMs to this object. |
|
True |
2 |
True (ByPropertyName, ByValue) |
|
Server |
Specifies the host where the VMs or VM containers you want to add reside. |
|
True |
1 |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Adding VM to Existing Job [Using Variable]
|
This example shows how to add the
Perform the following steps:
|
Example 2. Adding VM to Existing Job [Using Pipeline]
|
This example shows how to add the
Perform the following steps:
|
Related Commands
Get-VBRJobReturns existing jobs.Get-VBRServerReturns hosts connected to the backup infrastructure.Find-VBRViEntityLooks for VMware objects.