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: samples/manage/azure-arc-enabled-sql-server/modify-license-type/README.md
+19-21Lines changed: 19 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,12 +57,28 @@ The following command will scan the subscription `<sub_id>` and set the license
57
57
58
58
## Example 3
59
59
60
-
The following command will scan resource group <resource_group_name> in the subscription `<sub_id>` and set the license type value to "PAYG" on all servers.
60
+
The following command will scan resource group `<resource_group_name>` in the subscription `<sub_id>` and set the license type value to "PAYG" on all servers.
The following command will set License Type to 'Paid" and enables ESU on all servers in the subscriptions `<sub_id>` and the resource group `<resource_group_name>`.
The following command will disable ESU on all servers in the subscriptions `<sub_id>`.
77
+
78
+
```console
79
+
.//modify-license-type.ps1 -SubId <sub_id> -EnableESU No
80
+
```
81
+
66
82
# Running the script using Cloud Shell
67
83
68
84
This option is recommended because Cloud shell has the Azure PowerShell modules pre-installed and you are automatically authenticated. Use the following steps to run the script in Cloud Shell.
@@ -81,7 +97,7 @@ This option is recommended because Cloud shell has the Azure PowerShell modules
1. The following command will set License Type to 'Paid" and enables ESU on all servers in the subscriptions <your_sub_id> and the resource group <your_rg> role has access to.
0 commit comments