You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-vmware/configure-storage-policy.md
+30-8Lines changed: 30 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ You can assign a VM storage policy in an initial deployment of a VM or when you
17
17
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.
18
18
19
19
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.
22
22
23
23
24
24
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
72
72
73
73
## Set storage policy on VM
74
74
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.
76
76
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.
1. Provide the required values or change the default values, and then select **Run**.
83
83
@@ -91,13 +91,35 @@ You'll run the `Set-AvsVMStoragePolicy` cmdlet to Modify vSAN based storage poli
91
91
92
92
1. Check **Notifications** to see the progress.
93
93
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.
0 commit comments