Skip to content

Commit d7b4ab7

Browse files
author
Alexander (Sasha) Nosov
committed
Fixed examples
1 parent 8416154 commit d7b4ab7

File tree

1 file changed

+4
-4
lines changed
  • samples/manage/azure-arc-enabled-sql-server/modify-license-type

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

5252
The 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.
7070
3. 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]

0 commit comments

Comments
 (0)