Created
December 19, 2016 12:31
-
-
Save Cyreex/3a485038b0b0506e9d264b98516abbed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$VirtualDiskDrive = Get-SCVirtualDiskDrive -VMMServer clvmm01.linby.local -All | where {$_.ID -eq "50b2cc40-72c4-4371-905a-97396b5d597b"} | |
Set-SCVirtualDiskDrive -VirtualDiskDrive $VirtualDiskDrive -Bus 0 -LUN 0 -VolumeType BootAndSystem -SCSI -JobGroup 3a685e08-ad5c-4805-8359-8c620eaaa8f2 | |
$VM = Get-SCVirtualMachine -VMMServer clvmm01.linby.local -Name "Tema_KS_01" -ID "3bb22b9d-000d-4fcb-948e-4b6f9bd67c7b" | where {$_.VMHost.Name -eq "host12-clu1-ost.linby.local"} | |
$OperatingSystem = Get-SCOperatingSystem -VMMServer clvmm01.linby.local -ID "50b66924-c64a-4a06-b05a-7e6610c579a2" | where {$_.Name -eq "Windows Server 2012 R2 Standard"} | |
$UserRole = Get-SCUserRole -VMMServer clvmm01.linby.local -Name "[email protected]_37e33e28-b4f8-473e-9dc3-0016b3dbe699" -ID "37e33e28-b4f8-473e-9dc3-0016b3dbe699" | |
$CPUType = Get-SCCPUType -VMMServer clvmm01.linby.local | where {$_.Name -eq "3.60 GHz Xeon (2 MB L2 cache)"} | |
Set-SCVirtualMachine -VM $VM -Name "Tema_KS_01" -Description "" -OperatingSystem $OperatingSystem -Owner '[email protected]' -UserRole $UserRole -CPUCount 4 -MemoryMB 7168 -DynamicMemoryEnabled $false -MemoryWeight 5000 -CPUExpectedUtilizationPercent 20 -DiskIops 1500 -CPUMaximumPercent 80 -CPUReserve 0 -NumaIsolationRequired $false -NetworkUtilizationMbps 0 -CPURelativeWeight 100 -HighlyAvailable $true -HAVMPriority 2000 -DRProtectionRequired $false -SecureBootEnabled $true -SecureBootTemplate "MicrosoftWindows" -CPULimitFunctionality $false -CPULimitForMigration $false -CheckpointType Standard -CPUType $CPUType -Tag "(none)" -QuotaPoint 1 -JobGroup 3a685e08-ad5c-4805-8359-8c620eaaa8f2 -RunAsynchronously -DelayStartSeconds 0 -BlockDynamicOptimization $false -EnableOperatingSystemShutdown $true -EnableTimeSynchronization $true -EnableDataExchange $true -EnableHeartbeat $true -EnableBackup $true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment