File tree Expand file tree Collapse file tree
samples/manage/azure-arc-enabled-sql-server/modify-license-type Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,18 +41,18 @@ Get-AzSubscription | Export-Csv .\mysubscriptions.csv -NoTypeInformation
4141```
4242## Example 1
4343
44- The following command will scan all the subscriptions to which the user has access to and set the license type to "PAYG".
44+ The following command will scan all the subscriptions to which the user has access to, and set the license type to "PAYG".
4545
4646``` PowerShell
47- .\update-license-type.ps1 -LicenseType " PAYG" -All
47+ .\update-license-type.ps1 -LicenseType PAYG -All $True
4848```
4949
5050## Example 2
5151
5252The following command will scan the subscription ` <sub_id> ` and set the license type value to "Paid" on the servers where it is undefined.
5353
5454``` PowerShell
55- .\update-license-type.ps1 -SubId <sub_id> -LicenseType " Paid"
55+ .\update-license-type.ps1 -SubId <sub_id> -LicenseType Paid
5656```
5757
5858# Running the script using Cloud Shell
@@ -70,7 +70,7 @@ Use the following steps to run the script in Cloud Shell.
70703. Run the script.
7171
7272 ```console
73- .//modify-license-type.ps1 -LicenseType PAYG -All $True
73+ .//modify-license-type.ps1 -LicenseType Paid
7474 ```
7575
7676> [! NOTE]
You can’t perform that action at this time.
0 commit comments