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.