From 640bbf20f109f95ea23289aef0581e8ae581316c Mon Sep 17 00:00:00 2001 From: anosov1960 Date: Thu, 14 Jan 2021 00:47:49 -0800 Subject: [PATCH] Added database password example --- samples/manage/azure-hybrid-benefit/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/manage/azure-hybrid-benefit/README.md b/samples/manage/azure-hybrid-benefit/README.md index c02011a8..224edc58 100644 --- a/samples/manage/azure-hybrid-benefit/README.md +++ b/samples/manage/azure-hybrid-benefit/README.md @@ -82,7 +82,8 @@ The following command will scan the subscription `` and save the results The following command will scan all the subscriptions in the account and save the results in a SQL database `` on a SQL Server instance `.database.windows.net`. ```PowerShell -.\sql-license-usage.ps1 -Server .database.windows.net -Database -Username -Password $pwd +$cred = Get-Credential -credential +.\sql-license-usage.ps1 -Server .database.windows.net -Database -Username $cred.Username -Password $cred.Password ``` # Running the script using Cloud Shell