Administrator Guide

Table Of Contents
3 In the
Disk Information for Virtual Machines pane, locate and expand the DPM server. If the VMs are not listed, on the
Home tab of the ribbon, in the Show group, click VMs.
4 In the list of VHDs that are attached to the DPM server, determine the highest number that was assigned. For example, if
the highest number is <
DPMServerName
>-Backup20.vhdx, the starting number for the new VHDs will be 21.
2 Log on to the backup host on which DPM resides.
3 Open a Windows PowerShell session, and run the following command:
NOTE
: Update the parameter values in the rst four lines.
$DPMName = "
DPMServerName
"
$location = @("I:\","J:\","K:\
") #specify the volumes that are used.
$startNumber = 21
#specify the start number for the new disks.
$no_of_Vhds = 10
#the number of disks you want to add to DPM.
$DPMVM = get-vm $DPMName
$BackupDiskVHDPaths = @()
$MaxNumberOfControllers = 4
$ExistingVMDisks = $DPMVM.HardDrives.Path
$VhdsToBeAdded2VM = @()
#create VHDs
for($i=0;$i -lt $no_of_Vhds;$i++)
{
$diskNum = $i + $startNumber ;
$path = $location[$i%3];
$vhdpath = "$path$DPMName-Backup$diskNum.vhdx"
$vhdsize = 1024GB
New-VHD -Path $vhdpath -Dynamic -SizeBytes $vhdsize
$BackupDiskVHDPaths += $vhdpath
}
$VhdsToBeAdded2VM = $BackupDiskVHDPaths
#VHDsOnBus contains the existing VHDs count for bus(index of array)
$VHDsOnBus = @{}
$AdaptersCount = ($DPMVM | Get-VMScsiController).count
for($Bus = 0; $Bus -lt $AdaptersCount; $Bus++)
{
94 Operations