I am adding DataDisk to windows VM using ARM template now I want to initialize disk using custom script extension powershell.
I am adding DataDisk to windows VM using ARM template now I want to initialize disk using custom script extension powershell.
Maybe this is helpful:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/attach-disk-ps#initialize-the-disk
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten
@AndreasBaumgarten Thank you for the reply I want want to initialize/format Azure Windows VM's Data Disks from ARM Template Deployment?
Here is described how to add a custom script extension in an ARM template:
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten
15 people are following this question.