Add-VSBHvApplicationGroup

In this article

    Short Description

    Creates a Hyper-V application group for SureBackup job.

    Applies to

    Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Add-VSBHvApplicationGroup [-Name <String>] [-VmFromBackup <CHvVmItem[]>] [-RestorePoint <COib[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]>]

    Detailed Description

    This cmdlet creates a new Hyper-V application group.

    This cmdlet provides two scenarios. You can add VMs to your application group either by searching for existing VMs or by adding a restore point containing the VMs you need.

    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 name you want to assign to the application group.

    False

    Named

    False

    False

    VmFromBackup

    Specifies the array of Hyper-V VMs. The cmdlet will add these VMs to the application group.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    False

    RestorePoint

    Specifies the array of VM restore points. The cmdlet will find the VMs backed up in these restore points and add them to the application group.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Example 1

    This command creates a new application group named "Microsoft Exchange Appgroup". The VMs that should be included into the application group are obtained with Find-VBRHvEntity and piped down. The VMs are obtained in the order they must boot when the SureBackup job starts.

    Find-VBRHvEntity -Name "DC", "DNSServer" | Add-VSBHvApplicationGroup -Name "Microsoft Exchange Appgroup"

    Example 2

    This command creates a new application group "MailServer Appgroup". The restore point object is obtained with Get-VBRRestorePoint and assigned to the variable beforehand.

    Add-VSBHvApplicationGroup -Name "MailServer Appgroup" -RestorePoint $restorepoint

    Related Commands

    Find-VBRHvEntity

    Get-VBRRestorePoint

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.