Add-VBRViJobObject
Short Description
Adds a VM to a VMware job.
Applies to
Platform: VMware
For Hyper-V, run Add-VBRHvJobObject.
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Add-VBRViJobObject -Job <CBackupJob> -Entities <IViItem[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Related Commands
Detailed Description
This cmdlet adds VM(s) to an existing job.
You can run this cmdlet with any kind of jobs.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the job you want to add the VM(s) to. You can assign multiple backup jobs to this object. | True | Named | False | False |
Entities | Specifies the vM(s) you want to add to the job. You can assign multiple VMs to this object. | True | Named | True (ByValue, | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example 1
This command adds a VM named "VM01" to the job represented by $job variable. First the job object is got and assigned to $job variable.The VM object is piped down.
Example 2
This command adds a VM represented by $Vm variable to the job represented to $job variable. The variables are assigned beforehand.