Skip to content

Commit 5340f91

Browse files
Merge pull request #235607 from RoseHJM/dtl-fresh-start
DTL freshness pass - start & stop
2 parents fd39611 + 6b0b76c commit 5340f91

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/devtest-labs/use-command-line-start-stop-virtual-machines.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Use Azure PowerShell or Azure CLI command lines and scripts to star
44
ms.topic: how-to
55
ms.author: rosemalcolm
66
author: RoseHJM
7-
ms.date: 03/29/2022
7+
ms.date: 04/24/2023
88
ms.custom: devx-track-azurepowershell, devx-track-azurecli
99
ms.devlang: azurecli
1010
---
@@ -24,7 +24,7 @@ When you want to script or automate start or stop for lab VMs, use PowerShell or
2424
## Prerequisites
2525

2626
- A [lab VM in DevTest Labs](devtest-lab-add-vm.md).
27-
- For Azure PowerShell, the [Az module](/powershell/azure/new-azureps-module-az) installed on your workstation. Make sure you have the latest version. If necessary, run `Update-Module -Name Az` to update the module.
27+
- For Azure PowerShell, the [Az PowerShell module](/powershell/azure/new-azureps-module-az) installed on your workstation. Make sure you have the latest version. If necessary, run `Update-Module -Name Az` to update the module.
2828
- For Azure CLI, [Azure CLI ](/cli/azure/install-azure-cli) installed on your workstation.
2929

3030
## Azure PowerShell script
@@ -76,12 +76,12 @@ The following PowerShell script starts or stops a VM in a lab by using [Invoke-A
7676
7777
## Azure CLI script
7878
79-
The following script provides [Azure CLI](/cli/azure/get-started-with-azure-cli) commands for starting or stopping a lab VM. The variables in this script are for a Windows environment. Bash or other environments have slight variations.
79+
The following script provides [Azure CLI](/cli/azure/get-started-with-azure-cli) commands for starting or stopping a lab VM. The variables in this script are for a Windows environment, like a command prompt. Bash or other environments have slight variations.
8080
8181
1. Provide appropriate values for *`<Subscription ID>`*, *`<lab name>`*, *`<VM name>`*, and the *`<Start or Stop>`* action to take.
8282
8383
```azurecli
84-
set SUBSCIPTIONID=<Subscription ID>
84+
set SUBSCRIPTIONID=<Subscription ID>
8585
set DEVTESTLABNAME=<lab name>
8686
set VMNAME=<VM name>
8787
set ACTION=<Start or Stop>
@@ -92,7 +92,7 @@ The following script provides [Azure CLI](/cli/azure/get-started-with-azure-cli)
9292
```azurecli
9393
az login
9494
95-
REM az account set --subscription %SUBSCIPTIONID%
95+
REM az account set --subscription %SUBSCRIPTIONID%
9696
```
9797

9898
1. Get the name of the resource group that contains the lab.

0 commit comments

Comments
 (0)