In this page you will learn how to create an application group containing the domain controller server and the DNS server, how to look for the application group and how to remove it.
Create an application group
You will need to perform the following steps:
- Get the domain controller server and the DNS server you want to add to the application group. Run Find-VBRViEntity and save the result to the $vms variable.
- Create the application group. Run Add-VSBViApplicationGroup with the $vms variable. Use the VmFromBackup parameter to select VMs from backups.
PS C:\PS> $vms = Find-VBRViEntity -Name "DC", "DNSServer" PS C:\PS> Add-VSBViApplicationGroup -Name "Production Application Group" -VmFromBackup $vms |
Look for the application group
Run Get-VSBApplicationGroup to get the application group.
PS C:\PS> Get-VSBApplicationGroup -Name "Production Application Group" |
Remove the application group
You will need to perform the following steps:
- Get the application group. Run Get-VSBApplicationGroup and save the result to the $appgroup variable.
- Run Remove-VSBApplicationGroup with the $appgroup variable.
PS C:\PS> $appgroup = Get-VSBApplicationGroup -Name "Production Application Group" PS C:\PS> Remove-VSBApplicationGroup -AppGroup $appgroup |