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