New version

This commit is contained in:
anosov1960
2021-03-05 00:36:14 -08:00
parent a70d8e0b80
commit b6f4cef0c3
2 changed files with 1 additions and 12 deletions
@@ -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
@@ -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