Skip to content

Commit e2ff8f8

Browse files
committed
Updated 'AzureRM' syntax.
1 parent ebd374f commit e2ff8f8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

articles/databox-online/azure-stack-edge-gpu-deploy-virtual-machine-powershell.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -986,12 +986,11 @@ To resize an existing virtual machine, run the following cmdlets:
986986
> Before you resize it, stop the VM without the `-StayProvisioned` flag.
987987
988988
```powershell
989-
$vm = Get-azvm [-Name] <String> [-ResourceGroupName] <String>
989+
$vm = Get-AzVM [-Name] <String> [-ResourceGroupName] <String>
990990
991991
$vm.HardwareProfile.VmSize = <new size> - Example: "Standard_D3_v2"
992992
993-
$vm | Update-Azvm
994-
993+
$vm | Update-AzVM
995994
```
996995

997996
### [AzureRM](#tab/azure-rm)
@@ -1000,11 +999,11 @@ $vm | Update-Azvm
1000999
> Before you resize it, stop the VM without the `-StayProvisioned` flag.
10011000
10021001
```powershell
1003-
$vm = Get-azvm [-Name] <String> [-ResourceGroupName] <String>
1002+
$vm = Get-AzureRmVM [-Name] <String> [-ResourceGroupName] <String>
10041003
10051004
$vm.HardwareProfile.VmSize = <new size> - Example: "Standard_D3_v2"
10061005
1007-
$vm | Update-Azvm
1006+
$vm | Update-AzureRmVM
10081007
```
10091008
---
10101009

0 commit comments

Comments
 (0)