Skip to content

Commit a475980

Browse files
author
Alexander (Sasha) Nosov
committed
Tweaked the parameters descriptions
1 parent 8087083 commit a475980

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ The script accepts the following command line parameters:
2929

3030
| **Parameter**                                         | **Value**                                                                       | **Description** |
3131
|:--|:--|:--|
32-
|-SubId|subscription_id *or* a file_name|Optional: subscription id or a .csv file with the list of subscriptions<sup>1</sup>|
32+
|-SubId|subscription_id *or* a file_name|Optional: subscription id or a .csv file with the list of subscriptions<sup>1</sup>. If not specified all subscriptions will be scanned|
3333
|-ResourceGroup |resource_group_name|Optional: Limit the scope to a specific resource group|
3434
|-MachineName |machine_name|Optional: Limit the scope to a specific machine|
3535
|-LicenceType | "Paid" (default), "PAYG" or "LicenseOnly"| Specifies the license type value |
36-
|-All|\$True or \$False (default)|Optional: Set the new license type value only if undefined|
36+
|-All|\$True or \$False (default)|Optional. Set the new license type for all installed extensions. By default the value is set only if license type is undefined.|
3737

3838
<sup>1</sup>You can create a .csv file using the following command and then edit to remove the subscriptions you don't want to scan.
3939
```PowerShell

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
#
99
# The script accepts the following command line parameters:
1010
#
11-
# -SubId [subscription_id] | [csv_file_name] (Limit scope to specific subscriptions. Accepts a .csv file with the list of subscriptions)
11+
# -SubId [subscription_id] | [csv_file_name] (Limit scope to specific subscriptions. Accepts a .csv file with the list of subscriptions.
12+
# If not specified all subscriptions will be scanned)
1213
# -ResourceGroup [resource_goup] (Limit scope to a specific resoure group)
1314
# -MachineName [machine_name] (Limit scope to a specific machine)
1415
# -LicenseType [license_type_value] (Specific LT value)
15-
# -All (Optional. Set the new license type value only if undefined)
16+
# -All (Optional. Set the new license type on all installed extensions.
17+
# By default the value is set only if license type is undefined undefined)
1618
#
1719
# The script uses a function ConvertTo-HashTable that was created by Adam Bertram (@adam-bertram).
1820
# The function was originally published on this site: https://4sysops.com/archives/convert-json-to-a-powershell-hash-table/

0 commit comments

Comments
 (0)