Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions public/Find-DbaInstance.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ function Find-DbaInstance {
try {
$server = Connect-DbaInstance -SqlInstance $dataSet.SqlInstance -SqlCredential $SqlCredential
$dataSet.SqlConnected = $true
$dataSet.TcpConnected = $true
$dataSet.Confidence = 'High'

# Remove duplicates
Expand All @@ -542,6 +543,7 @@ function Find-DbaInstance {
if ($_.Exception.InnerException.Errors.Class -lt 25) {
# There IS an SQL Instance and it listened to network traffic
$dataSet.SqlConnected = $true
$dataSet.TcpConnected = $true
$dataSet.Confidence = 'High'
}
#endregion Processing error (Access denied, server error, ...)
Expand Down
Loading