Motivation: Making the Systems Engineers life easier.

Blog

Error 23317 SCVMM 2012 R2 upon changing the properties of a VM with a Shared Disk

Microsoft System Center

Error 23317 SCVMM 2012 R2 upon changing the properties of a VM with a Shared Disk

Error (23317)

The operation Change properties of virtual machine is not permitted on a virtual machine that has shared virtual hard disks.

Recommended Action

The operation Change properties of virtual machine is not permitted on a virtual machine that has shared virtual hard disks.

Above error appeared when when I was trying to change the VM properties for one of my client. It will not allow changing using GUI, but yes, you can use the PowerShell and it is easy. You will have to just change the parameters as per your requirement.

$VM = Get-SCVirtualMachine -VMMServer scvmm.ammar.cloud -Name “SQLDB01” -ID “f4859bbe-2755-4d47-a515-385cd9d1eb23” | where {$_.VMHost.Name -eq “host01.ammar.cloud”}
$OperatingSystem = Get-SCOperatingSystem -VMMServer scvmm.ammar.cloud -ID “50b66974-c64a-4a06-b05a-7e6610c579a2” | where {$_.Name -eq “Windows Server 2012 R2 Standard”}
$CPUType = Get-SCCPUType -VMMServer scvmm.ammar.cloud | where {$_.Name -eq “3.60 GHz Xeon (2 MB L2 cache)”}
$Cloud = Get-SCCloud -VMMServer scvmm.ammar.cloud | where {$_.Name -eq “ammar.cloud – Public Cloud”}

Set-SCVirtualMachine -VM $VM -Name “SQLDB01” -Cloud $Cloud

The above PowerShell command did the trick and change the properties of a VM.

 

Leave your thought here

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Archives