Removed discovery scripts

This commit is contained in:
anosov1960
2021-03-15 11:29:27 -07:00
parent 46dcf9f7c4
commit a76d8558ff
2 changed files with 0 additions and 17 deletions
@@ -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
@@ -1,6 +0,0 @@
if ! systemctl is-active --quiet mssql-server.service; then
echo "False"
exit
else
echo "True"
fi