From 2ae3ea88ba973a54d3664573a1b01444f5ad788f Mon Sep 17 00:00:00 2001 From: anosov1960 Date: Thu, 25 Mar 2021 23:29:01 -0700 Subject: [PATCH] removed misc files --- samples/manage/DiscoverSql.ps1 | 11 ----------- samples/manage/DiscoverSql.sh | 6 ------ 2 files changed, 17 deletions(-) delete mode 100644 samples/manage/DiscoverSql.ps1 delete mode 100644 samples/manage/DiscoverSql.sh diff --git a/samples/manage/DiscoverSql.ps1 b/samples/manage/DiscoverSql.ps1 deleted file mode 100644 index 874a4d5c..00000000 --- a/samples/manage/DiscoverSql.ps1 +++ /dev/null @@ -1,11 +0,0 @@ - - -# This script checks if SQL Server is installed on Windows - - [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/DiscoverSql.sh b/samples/manage/DiscoverSql.sh deleted file mode 100644 index 5b430e3a..00000000 --- a/samples/manage/DiscoverSql.sh +++ /dev/null @@ -1,6 +0,0 @@ -if ! systemctl is-active --quiet mssql-server.service; then - echo "False" - exit - else - echo "True" - fi \ No newline at end of file