Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Azure by (4k points)
Where will I be able to find my azure service name? I am using the PowerShell to schedule a shut down for my VM.

1 Answer

0 votes
by (9.6k points)
edited by

The service name is not required to carry out that particular function In simple words, the service name is the Cloud service name or the DNS name for your VM. 

So, for example, if your DNS name is "firstvm.cloudapp.net" then your service name is "firstvm".

To execute the alternate query that does not need you to use your service name, log in to the resource manager using Login-AzureRmAccount. Once logged in to stop the VM: Stop-AzureRmVM -Name "VMName" -ResourceGroupName "GroupName"

Need help mastering Azure skills? Go through Azure Training and become an Azure expert!

Browse Categories

...