search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Virtual Machine Manager | No Comment | 1,131 views | 13/02/2014 17:10

You can add DVD devices into SCVMM 2012 R2 templates with this script:

1
2
3
4
5
6
7
8
$Templates = Get-SCVMTemplate
foreach ($Template in $Templates)
{
	$JobId = [System.Guid]::NewGuid().toString()
	New-SCVirtualDVDDrive -JobGroup $JobId -Bus 0 -LUN 1 
 
	$Template | Set-SCVMTemplate -JobGroup $JobId
}

All DVD devices will be on “Bus 0, Lun 1”. You can change it for different location.