Modifying Cache Settings
{"Image DocumentName": "Modifying Cache Settings", "Image ImageDescription": "Set Host Caching on OS Disk During Provisioning. New-AzureVMConfig -Name myvm1 -InstanceSize Small -ImageName  img | Add-AzureProvisioningConfig -Windows -Password  pwd | Set-AzureOSDisk -HostCaching ReadOnly | New-AzureVM -ServiceDescription  cloudSvcName. Set Host Caching on Existing Data Disk in running VM. Get-AzureVM -ServiceName  cloudSvcName -Name myvm1 | Set-AzureDataDisk -HostCaching ReadWrite -LUN 0 | Update-AzureVM. Slide Objectives: Explain disk caching defaults and how to modify it. Notes: By default OS disks have read / write caching enabled and data disks have no caching. You can use Set-AzureOSDisk or Set-AzureDataDisk to modify these settings at run time. Set-AzureOSDisk requires a reboot.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}