mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
New version
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user