title: Change the boot diagnostic storage account of azure virtual machine
body: <p>I have enabled a diagnostic storage account for my virtual machine. Now I want to change the diagnostic storage account. How do I do it in portal / PowerShell?</p>
  
  <p>I can see that we have a cmdlet - "Set-AzureRmVMBootDiagnostics", however, this is not updating the diagnostic storage account to a new one. </p>
  
  <p>In specific:
  My current diagnostic storage is "ibmngeus2" and I would like to change to "sqlbackupacct".</p>