Skip to content

Commit d836e16

Browse files
authored
Modified README
1 parent 6a1bea3 commit d836e16

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

samples/manage/azure-arc-enabled-sql-server/modify-license-type/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services: Azure Arc-enabled SQL Server
33
platforms: Azure
44
author: anosov1960
55
ms.author: sashan
6-
ms.date: 9/22/2023
6+
ms.date: 12/01/2024
77
---
88

99

@@ -31,6 +31,7 @@ The script accepts the following command line parameters:
3131
|-ResourceGroup |resource_group_name|Optional: Limits the scope to a specific resource group|
3232
|-MachineName |machine_name|Optional: Limits the scope to a specific machine|
3333
|-LicenseType | "Paid", "PAYG" or "LicenseOnly"| Optional: Sets the license type to the specified value |
34+
|-UsePcoreLicense | "Yes", "No" | Optional. Enables unlimited virtualization license if the value is "Yes" or disables it if the value is "No". To enable, the license type must be "Paid" or "PAYG"|
3435
|-EnableESU | "Yes", "No" | Optional. Enables the ESU policy the value is "Yes" or disables it if the value is "No". To enable, the license type must be "Paid" or "PAYG"|
3536
|-Force| |Optional. Forces the change of the license type to the specified value on all installed extensions. If -Force is not specified, the -LicenseType value is set only if undefined. Ignored if -LicenseType is not specified|
3637

@@ -57,10 +58,10 @@ The following command will scan the subscription `<sub_id>` and set the license
5758

5859
## Example 3
5960

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.
61+
The following command will scan resource group `<resource_group_name>` in the subscription `<sub_id>` and set the license type value to "PAYG" and enable unlimited virtualization license on all servers in the specified resource group.
6162

6263
```PowerShell
63-
.\modify-license-type.ps1 -SubId <sub_id> -ResourceGroup <resource_group_name> -LicenseType PAYG -Force
64+
.\modify-license-type.ps1 -SubId <sub_id> -ResourceGroup <resource_group_name> -LicenseType PAYG -UsePcoreLicense Yes -Force
6465
```
6566

6667
## Example 4

samples/manage/azure-arc-enabled-sql-server/modify-license-type/modify-license-type.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
# -ResourceGroup [resource_goup] (Optional. Limits the scope to a specific resoure group)
1313
# -MachineName [machine_name] (Optional. Limits the scope to a specific machine)
1414
# -LicenseType [license_type_value] (Optional. Sets the license type to the specified value)
15-
# -EnableESU [Yes or No] (Optional. Enables the ESU policy if the value is "Yes" or disables it if the value is "No"
16-
# To enable, the license type must be "Paid" or "PAYG"
1715
# -UsePcoreLicense [Yes or No] (Optional. Enables unlimited virtualization license if the value is "Yes" or disables it if the value is "No"
1816
# To enable, the license type must be "Paid" or "PAYG"
17+
# -EnableESU [Yes or No] (Optional. Enables the ESU policy if the value is "Yes" or disables it if the value is "No"
18+
# To enable, the license type must be "Paid" or "PAYG"
1919
# -Force (Optional. Forces the chnahge of the license type to the specified value on all installed extensions.
2020
# If Force is not specified, the -LicenseType value is set only if undefined. Ignored if -LicenseType is not specified
2121
#
@@ -36,10 +36,10 @@ param (
3636
[string] $LicenseType,
3737
[Parameter (Mandatory= $false)]
3838
[ValidateSet("Yes","No", IgnoreCase=$false)]
39-
[string] $EnableESU,
39+
[string] $UsePcoreLicense,
4040
[Parameter (Mandatory= $false)]
4141
[ValidateSet("Yes","No", IgnoreCase=$false)]
42-
[string] $UsePcoreLicense,
42+
[string] $EnableESU,
4343
[Parameter (Mandatory= $false)]
4444
[switch] $Force
4545
)

0 commit comments

Comments
 (0)