What is the best practice to run a user-provided .ps1 script as “cloud init script” on a Azure Windows VM module?


There are allot of very old discussion around this topic, but, I just cant find a example Azure Terraform script to test running a Powershell script upon first boot. Yes, I read allot of the other threads but one of them from 2018