For those managing Azure resources mainly from the portal, especially virtual machines, and want to learn more about PowerShell or Azure Cli command to manage these virtual machines, you can now get the most frequent commands pre-configured for a specific virtual machine.
To take advantage of this new learning capability, connect to your Azure portal (https://portal.azure.com/) and access the virtual machines view to select one virtual machine.
On the Overview tab, you will see in the toolbar a new button CLI/PS
When you click on this button, you will have a new blade with 2 tabs: CLI and PowerShell which will gives you the most used/frequent commands
The command are automatically prefilled with the corresponding parameters values (resource group, virtual machine name..)
You can then copy the command or even better Try it directly from the portal using Cloud Shell