Further reading
If you want to learn more on the subject, take a look at these resources:
- Run PowerShell scripts in your Windows VM by using Run Command:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/run-command
- Run shell scripts in your Linux VM by using Run Command:
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/run-command
- Reset the local administrator password using the VMAccess extension:
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/reset-rdp