File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
samples/manage/azure-arc-enabled-sql-server/modify-license-type Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,18 +41,18 @@ Get-AzSubscription | Export-Csv .\mysubscriptions.csv -NoTypeInformation
41
41
```
42
42
## Example 1
43
43
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".
45
45
46
46
``` PowerShell
47
- .\update-license-type.ps1 -LicenseType " PAYG" -All
47
+ .\update-license-type.ps1 -LicenseType PAYG -All $True
48
48
```
49
49
50
50
## Example 2
51
51
52
52
The following command will scan the subscription ` <sub_id> ` and set the license type value to "Paid" on the servers where it is undefined.
53
53
54
54
``` PowerShell
55
- .\update-license-type.ps1 -SubId <sub_id> -LicenseType " Paid"
55
+ .\update-license-type.ps1 -SubId <sub_id> -LicenseType Paid
56
56
```
57
57
58
58
# Running the script using Cloud Shell
@@ -70,7 +70,7 @@ Use the following steps to run the script in Cloud Shell.
70
70
3. Run the script.
71
71
72
72
```console
73
- .//modify-license-type.ps1 -LicenseType PAYG -All $True
73
+ .//modify-license-type.ps1 -LicenseType Paid
74
74
```
75
75
76
76
> [! NOTE]
You can’t perform that action at this time.
0 commit comments