You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/manage/azure-arc-enabled-sql-server/modify-license-type/README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ services: Azure Arc-enabled SQL Server
3
3
platforms: Azure
4
4
author: anosov1960
5
5
ms.author: sashan
6
-
ms.date: 2/16/2023
6
+
ms.date: 6/4/2023
7
7
---
8
8
9
9
@@ -32,7 +32,7 @@ The script accepts the following command line parameters:
32
32
|-ResourceGroup |resource_group_name|Optional: Limit the scope to a specific resource group|
33
33
|-MachineName |machine_name|Optional: Limit the scope to a specific machine|
34
34
|-LicenceType | "Paid", "PAYG" or "LicenseOnly"| Required: Specifies the license type value |
35
-
|-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.|
35
+
|-Force|\$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.|
36
36
37
37
<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.
38
38
```PowerShell
@@ -69,10 +69,10 @@ This option is recommended because Cloud shell has the Azure PowerShell modules
69
69
70
70
1. Launch the [Cloud Shell](https://shell.azure.com/). For details, [read more about PowerShell in Cloud Shell](https://aka.ms/pscloudshell/docs).
71
71
72
-
1. Connect to Azure AD
72
+
1. Connect to Azure AD. You must specify `<tenant_id>` if you have access to more than one AAD tenants.
73
73
74
74
```console
75
-
Connect-AzureAD
75
+
Connect-AzureAD -TenantID <tenant_id>
76
76
```
77
77
78
78
1. Upload the script to your cloud shell using the following command:
@@ -81,10 +81,10 @@ This option is recommended because Cloud shell has the Azure PowerShell modules
0 commit comments