Creates a VMware application group for SureBackup job.
In Backup & Replication v6 this cmdlet was replaced by Add-VSBViApplicationGroup and Add-VSBHvApplicationGroup due to multihypervisor support introduced in the new version. The cmdlet will still work but it is advised to rewrite your scripts using new cmdlets for added benefits.
Add-VSBApplicationGroup [-Name] <String> [-Vm] <CVm> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
Add-VSBApplicationGroup [-Name] <String> [-RestorePoint] <COib> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
This cmdlet creates a new VMware application group.
An application group is a component of SureBackup technology providing verification of virtual machines that need other virtual machines or services running, i.e. a domain controller, a DNS server or SQL database. To test such machines for recoverability, you need to create a SureBackup job and provide the copy of the production architecture running in a fenced-off environment that is performed by creating a virtual lab and an application group. The VMs in the application group are started first to ensure the proper testing environment for the primary VM.
Note that you can set the order the VMs in the application group will be powered on when the SureBackup job starts. This may be important if any of the applications must be started prior to other. The VMs are powered in the order they were added to the VM object in this cmdlet.
Specifies the string with the name you want to assign to the application group.
Specifies the VM(s) you want to include into the application group.
You can assign multiple VMs to this object.
Specifies the restore points of VMs that should be added to the application group.
You can assign multiple restore points to this object.
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
This example allows you to create an application group with the following parameters:
- Application group name: AppGroup
- Variable which contains objects of VMs to be added to the group: $vms
PS C:\PS> Add-VSBApplicationGroup –Name “AppGroup”–VM $vms