Skip to content

Commit 9589639

Browse files
authored
Merge pull request #892 from anosov1960/master
Minor tweaks of the code examples
2 parents 0fb0a2e + da96d57 commit 9589639

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ The following command will scan the subscription `<sub_id>` and save the results
7878

7979
## Example 3
8080

81-
The following command will scan all the subscriptions in the account and save the results in a SQL database `<db_name>` on a SQL Server instance `<sql_server_name>.database.windows.net`. It will prompt for the database user name and password.
81+
The following command will scan all the subscriptions in the account and save the results in a SQL database `sql-license-usage` on a SQL Server instance `my-westus2-server.database.windows.net`. It will prompt for the database user name and password.
8282

8383
```PowerShell
8484
$cred = Get-Credential
85-
.\sql-license-usage.ps1 -Server <server_name>.database.windows.net -Database <db_name> -Cred $cred
85+
.\sql-license-usage.ps1 -Server my-westus2-server.database.windows.net -Database sql-license-usage -Cred $cred
8686
```
8787

8888
## Example 4
@@ -137,7 +137,7 @@ You can track your license utilization over time by running this script on sched
137137
1. Open the [script file](https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/manage/azure-hybrid-benefit/sql-license-usage.ps1), copy the entire file and paste it into the editor, click on *Save* and then click on *Publish*.
138138
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.
139139
1. Click on *Parameters and run settings* and specify the following parameters:
140-
- SUBID. Leave it blank if you want to scan all the subscriptions
140+
- SUBID. Leave it blank if you want to scan all the subscriptions in the account.
141141
- SERVER. Put in the SQL Server connection endpoint (e.g. my-westus2-sql-server.database.windows.net)
142142
- CRED. Put in the name of the credential object you created in Step 2.
143143
- DATABASE. Put in the database name where you want to save the license utilization data.

samples/manage/azure-hybrid-benefit/sql-license-usage.csv

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)