Skip to content

Commit a2e053e

Browse files
authored
Merge pull request #896 from anosov1960/master
Fixed minor errors
2 parents cc88456 + 8abcdba commit a2e053e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

samples/manage/azure-hybrid-benefit/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ $params =@{
100100

101101
# Running the script using Cloud Shell
102102

103-
Use the following steps to calculate the SQL Server license usage:
103+
To run the script in the Cloud Shell, use the following steps:
104104

105105
1. Launch the [Cloud Shell](https://shell.azure.com/). For details, read [PowerShell in Cloud Shell](https://aka.ms/pscloudshell/docs).
106106

@@ -128,7 +128,7 @@ You can track your license utilization over time by running this script on sched
128128
```console
129129
curl https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/manage/azure-hybrid-benefit/sql-license-usage.ps1 -o sql-license-usage.ps1
130130
```
131-
2. [Create a new automation account](https://ms.portal.azure.com/#create/Microsoft.AutomationAccount) or use an existing one.
131+
2. [Create a new automation account](https://ms.portal.azure.com/#create/Microsoft.AutomationAccount) or open an existing one.
132132
1. Select *Rus as accounts* in the **Account Settings** group, open the automatically created *Azure Run As Account* and note or copy the Display Name property. You must add this user to all the subscriptions you wish to scan with the *Reader* access role. See [Role assignment portal](https://docs.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal) for the instructions about role assignments.
133133
1. Select *Credentials* in the **Shared resources** group and create a credential object with the database username and password. The script will use these to connect to the specified database to save the license utilization data.
134134
1. Select *Modules* in the **Shared resources** group and make sure your automation account have the following PowerShell modules installed. If not, add them from the Gallery.
@@ -139,14 +139,14 @@ curl https://raw.githubusercontent.com/microsoft/sql-server-samples/master/sampl
139139
- Az.Sql
140140
- Az.SqlVirtualMachine
141141
1. Select *Runbooks* in the **Process automation** group and click on *Import a runbook*, select the file you downloaded in Step 1 and click **Create**.
142-
1. When import is completed click on *Publish*.
142+
1. When import is completed, click the *Publish* button.
143143
1. From the runbook blade, click on the *Link to schedule* button and select an existing schedule or create a new one with the desired frequency of runs and the expiration time.
144144
1. Click on *Parameters and run settings* and specify the following parameters:
145145
- SUBID. Put in a subscription ID or leave it blank if you want to scan all the subscriptions the *Azure Run As Account* has been given access to in Step 3.
146146
- SERVER. Put in the SQL Server connection endpoint (e.g. my-westus2-sql-server.database.windows.net)
147-
- CRED. Put in the name of the credential object you created in Step 3.
147+
- CRED. Put in the name of the credential object you created in Step 4.
148148
- DATABASE. Put in the database name where you want to save the license utilization data.
149-
- USEINRUNBOOKS. Select True to activate the logic that authenticates the runbook using the Run As account that was automatically created when you created your Automation account.
149+
- USEINRUNBOOKS. Select True to activate the logic that authenticates the runbook using the *Azure Run As Account*.
150150
1. Click **OK** to link to the schedule and **OK** again to create the job.
151151

152152
For more information about the runbooks, see the [Runbook tutorial](https://docs.microsoft.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual-powershell)

0 commit comments

Comments
 (0)