diff --git a/samples/manage/azure-hybrid-benefit/DiscoverSql.ps1 b/samples/manage/azure-hybrid-benefit/DiscoverSql.ps1 deleted file mode 100644 index aadf0058..00000000 --- a/samples/manage/azure-hybrid-benefit/DiscoverSql.ps1 +++ /dev/null @@ -1,11 +0,0 @@ - - - # This function is to run on each VM to detect if SQL server is installed - - [bool] $SqlInstalled = $false - $regPath = 'HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server' - if (Test-Path $regPath) { - $inst = (get-itemproperty $regPath).InstalledInstances - $SqlInstalled = ($inst.Count -gt 0) - } - Write-Output $SqlInstalled diff --git a/samples/manage/azure-hybrid-benefit/README.md b/samples/manage/azure-hybrid-benefit/README.md index 6c3ed62f..29817580 100644 --- a/samples/manage/azure-hybrid-benefit/README.md +++ b/samples/manage/azure-hybrid-benefit/README.md @@ -3,7 +3,7 @@ services: Azure SQL platforms: Azure author: anosov1960 ms.author: sashan -ms.date: 2/2/2021 +ms.date: 3/5/2021 --- # Overview