This is an archive version of the document. To get the most up-to-date information, see the current version.

Add-VSBApplicationGroup (obsolete)

In this article

    Short Description

    Creates a VMware application group for SureBackup job.

    Add-VSBApplicationGroup (obsolete) Note:

    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.

    Applies to

    Platform: VMware

    Syntax

    Add-VSBApplicationGroup [-Name] <String> [-Vm] <CVm[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    -OR-

    Add-VSBApplicationGroup [-Name] <String> [-RestorePoint] <COib[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Related Commands

    Get-VBRRestorePoint

    Detailed Description

    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 DSN 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.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

    Specifies the string with the name you want to assign to the application group.

    True

    1

    False

    False

    Vm

    Specifies the VM(s) you want to include into the application group.

    You can assign multiple VMs to this object.

    True

    2

    True (ByValue,
    ByProperty
    Name)

    False

    RestorePoint

    Specifies the restore points of VMs that should be added to the application group.

    You can assign multiple restore points to this object.

    True

    2

    True (ByValue,
    ByProperty
    Name)

    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

    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

    Add-VSBApplicationGroup –Name “AppGroup”–VM $vms