SAC provides with access to the Command Prompt.
Alternatively, you can use the Run Command functionality - as described in https://techcommunity.microsoft.com/t5/itops-talk-blog/how-to-run-scripts-in-your-azure-vm-by-using-run-command/ba-p/1362360 and https://learn.microsoft.com/en-us/azure/virtual-machines/windows/run-command
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin