I am wanting to know if it's possible to change the Storage Account Type of the OS Disk on a VM Scaleset with powershell easily? I am looking up all the commands like Update-AzVmss, Set-AzVmssVM, Set-AzVmssStorageProfile and don't see it mentioned how to change it. All I've tried as well does not work.
Is this possible and if so does anyone know the correct syntaxes to use? Only way right now I have done it, is I just rerun my ARM templates as all my servers as rebuilt on scripts and will be as good as before if I do, but doing so in powershell would be likely easier. And I am talking about deleting it and rebuilding or else it gives this error...
Changing | property osDisk.managedDisk.storageAccountType is not allowed
Example, I would want change the Storage Account type of the OS disk from Standard HDD to Premium SSD and vice versa.