This command stops virtual machines based on the service defined in the tag.
To stop a service and all required services after the following command can be used
Stop-VMService -ServiceName Domain -EnvironmentName LAB01 -VMTopology (Get-VMTopology) -Recurse
The name of the VM Service to stop.
The name of the VM Environment the VM Service is in.
VMService object of the VM Service to stop
VMEnvironment object of the VM Service to stop
The VMTopology containing all VM Services and Environments of a host.
Stop all required VM Services after stopping the current VM Service.
Force stopping of all virtual machines.