Skip to content

Commit 6a6b354

Browse files
Merge pull request #250986 from mattmcinnes/patch-94
Update dedicated-hosts-resize.md
2 parents 9d00c3f + 12346d0 commit 6a6b354

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

articles/virtual-machines/includes/dedicated-hosts-resize.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: mattmcinnes
66
ms.topic: include
77
ms.service: virtual-machines
88
ms.subservice: azure-dedicated-host
9-
ms.date: 07/12/2023
9+
ms.date: 09/11/2023
1010
ms.author: mattmcinnes
1111
ms.reviewer: vamckMS
1212
ms.custom: include file
@@ -22,7 +22,7 @@ Resize limitations:
2222
- Host can only be resized to an ADH within the same VM family. A Dsv3-Type3 host can be resized to Dsv3-Type4 but **not** to an **E**sv3-Type4.
2323
- You can only resize to newer generation of hardware. A Dsv3-Type3 host can be resized to Dsv3-Type4 but **not** Dsv3-Type2.
2424
- Resizing changes the 'Host Asset ID'. The 'Host ID' remains the same.
25-
- The host and all associated VMs becomes unavailable during the resize operation.
25+
- The host and all associated VMs become unavailable during the resize operation.
2626

2727
> [!Warning]
2828
> The resize operation causes the loss of any non-persistent data such as temp disk data. Save all your work to persistent data storage before triggering resize.
@@ -45,7 +45,7 @@ Resize limitations:
4545

4646
### [CLI](#tab/cli)
4747

48-
First list the sizes that you can resize in case you are unsure which to resize to.
48+
First list the sizes that you can resize in case you're unsure which to resize to.
4949

5050
Use [az vm host list-resize-options](/cli/azure/vm#az-vm-host-list-resize-options) [Preview]
5151

@@ -68,6 +68,22 @@ az vm host resize \
6868

6969
### [PowerShell](#tab/powershell)
7070

71-
PowerShell support for host resize is coming soon.
71+
When using PowerShell, the resize feature is referred to as a host 'Update'. Use the following commands to update the host:
72+
73+
```azurepowershell-interactive
74+
Update-AzHost
75+
[-ResourceGroupName] <String>
76+
[-HostGroupName] <String>
77+
[-Name] <String>
78+
[-Sku <String>]
79+
[-AutoReplaceOnFailure <Boolean>]
80+
[-LicenseType <DedicatedHostLicenseTypes>]
81+
[-DefaultProfile <IAzureContextContainer>]
82+
[-WhatIf]
83+
[-Confirm]
84+
[<CommonParameters>]
85+
```
86+
87+
For more info on Update-AzHost, check out the [Update-AzHost reference docs](https://learn.microsoft.com/powershell/module/az.compute/update-azhost).
7288

73-
---
89+
---

0 commit comments

Comments
 (0)