Skip to main content

Stop Virtual Machine

The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.

External Documentation

To learn more, visit the Azure documentation.

Parameters

ParameterDescription
Resource Group NameThe name of the resource group.
Skip ShutdownThe parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified.
Subscription IDSubscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
VM NameThe name of the virtual machine.

Automation Library Example

Stop Virtual Machine with Azure and Send Results Via Email

Automation LibraryPreview this Automation on desktop