Skip to content

Commit 48ce203

Browse files
authored
Merge pull request #88531 from thinkdavid/patch-6
Update configure-storage-policy.md
2 parents 8d94bce + e68968c commit 48ce203

File tree

1 file changed

+30
-8
lines changed

1 file changed

+30
-8
lines changed

articles/azure-vmware/configure-storage-policy.md

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ You can assign a VM storage policy in an initial deployment of a VM or when you
1717
The Run command lets authorized users change the default or existing VM storage policy to an available policy for a VM post-deployment. There are no changes made on the disk-level VM storage policy. You can always change the disk level VM storage policy as per your requirements.
1818

1919

20-
>[!NOTE]
21-
>Run commands are executed one at a time in the order submitted.
20+
> [!NOTE]
21+
> Run commands are executed one at a time in the order submitted.
2222
2323

2424
In this how-to, you learn how to:
@@ -72,12 +72,12 @@ You'll run the `Get-StoragePolicy` cmdlet to list the vSAN based storage policie
7272

7373
## Set storage policy on VM
7474

75-
You'll run the `Set-AvsVMStoragePolicy` cmdlet to Modify vSAN based storage policies on an individual VM.
75+
You'll run the `Set-VMStoragePolicy` cmdlet to Modify vSAN based storage policies on an individual VM or on a group of VMs sharing a similar VM name. For example, if you have 3 VMs named "MyVM1", "MyVM2", "MyVM3", supplying "MyVM*" to the VMName parameter would change the StoragePolicy on all three VMs.
7676

77-
>[!NOTE]
78-
>You cannot use the vSphere Client to change the default storage policy or any existing storage policies for a VM.
77+
> [!NOTE]
78+
> You cannot use the vSphere Client to change the default storage policy or any existing storage policies for a VM.
7979
80-
1. Select **Run command** > **Packages** > **Set-AvsVMStoragePolicy**.
80+
1. Select **Run command** > **Packages** > **Set-VMStoragePolicy**.
8181

8282
1. Provide the required values or change the default values, and then select **Run**.
8383

@@ -91,13 +91,35 @@ You'll run the `Set-AvsVMStoragePolicy` cmdlet to Modify vSAN based storage poli
9191

9292
1. Check **Notifications** to see the progress.
9393

94+
## Set storage policy on all VMs in a location
95+
96+
You'll run the `Set-LocationStoragePolicy` cmdlet to Modify vSAN based storage policies on all VMs in a location where a location is the name of a cluster, resource pool, or folder. For example, if you have 3 VMs in Cluster-3, supplying "Cluster-3" would change the storage policy on all 3 VMs.
97+
98+
> [!NOTE]
99+
> You cannot use the vSphere Client to change the default storage policy or any existing storage policies for a VM.
100+
101+
1. Select **Run command** > **Packages** > **Set-LocationStoragePolicy**.
102+
103+
1. Provide the required values or change the default values, and then select **Run**.
104+
105+
| **Field** | **Value** |
106+
| --- | --- |
107+
| **Location** | Name of the target VM. |
108+
| **StoragePolicyName** | Name of the storage policy to set. For example, **RAID-FTT-1**. |
109+
| **Retain up to** | Retention period of the cmdlet output. The default value is 60. |
110+
| **Specify name for execution** | Alphanumeric name, for example, **changeVMStoragePolicy**. |
111+
| **Timeout** | The period after which a cmdlet exits if taking too long to finish. |
112+
113+
1. Check **Notifications** to see the progress.
114+
115+
94116

95117
## Specify storage policy for a cluster
96118

97119
You'll run the `Set-ClusterDefaultStoragePolicy` cmdlet to specify default storage policy for a cluster,
98120

99-
>[!NOTE]
100-
>Changing the storage policy of the default management cluster (Cluster-1) isn't allowed.
121+
> [!NOTE]
122+
> Changing the storage policy of the default management cluster (Cluster-1) isn't allowed.
101123
102124
1. Select **Run command** > **Packages** > **Set-ClusterDefaultStoragePolicy**.
103125

0 commit comments

Comments
 (0)