File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/virtual-machines/troubleshooting Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -234,10 +234,10 @@ Stop-AzureRmVM -ResourceGroupName myResourceGroup -Name $vm.Name -Force
234
234
$disk = Get-AzureRmDisk -ResourceGroupName myResourceGroup -Name newDisk
235
235
236
236
# Set the VM configuration to point to the new disk
237
- Set-AzureRmVMOSDisk -VM $vm -ManagedDiskId $disk.Id -Name $disk.Name
237
+ Set-AzureRmVMOSDisk -VM $vm -ManagedDiskId $disk.Id -Name $disk.Name -sto
238
238
239
- # Update the VM with the new OS disk
240
- Update-AzureRmVM -ResourceGroupName myResourceGroup -VM $vm
239
+ # Update the VM with the new OS disk. Possible values of StorageAccountType include: 'Standard_LRS' and 'Premium_LRS'
240
+ Update-AzureRmVM -ResourceGroupName myResourceGroup -VM $vm -StorageAccountType <Type of the storage account >
241
241
242
242
# Start the VM
243
243
Start-AzureRmVM -Name $vm.Name -ResourceGroupName myResourceGroup
You can’t perform that action at this time.
0 commit comments