Azure expert: We need a script to restart Virtual Machine hosted in Azure

Job ID: 31017826

Budget: $30 – $250 USD

Please read before bidding. Test included. Spam/generic bids will be deleted.

Our clients use Azure VM's loaded with our software. We need a script that we can provide our clients where they can restart a specific VM. It needs to be secure so the client only see what is needed. The individual settings (not sure what is needed) should be in a text config file. When running the script, the user should get a list of the available machines (pulled from config file) and then get a list like this

Choose a machine to restart

1. My dev
2. Marketing
3. Test test
4. Other VM name

The user would then simply press a number to restart the VM. Echo message like "[VM name] restarting. Check VM in 5 minutes"

Lastly, it needs to be secure so they don't have the Azure portal password. So potentially the script would use a secure web page as a middleman. Open to suggestions!

Config file should be in format below and have a file extension of .dzc

; semicolon at start of line is command and ignored

[Azure Credentials]

setting1=value
setting2=value
etc

[VM1 name]
setting1=value
setting2=value
etc


[VM2 name]
setting1=value
setting2=value
etc

Good luck!
Related categories: Azure Powershell