Skip to content

Find-DbaInstance - Set TcpConnected=true when SqlConnect succeeds#10325

Closed
andreasjordan wants to merge 1 commit into
developmentfrom
claude/issue-10322-20260405-1703
Closed

Find-DbaInstance - Set TcpConnected=true when SqlConnect succeeds#10325
andreasjordan wants to merge 1 commit into
developmentfrom
claude/issue-10322-20260405-1703

Conversation

@andreasjordan
Copy link
Copy Markdown
Collaborator

When a SQL connection is established (or reaches the instance with error class < 25), TCP connectivity is proven. Previously TcpConnected would remain false if the TCPPort scan type was not included in ScanType, even though SqlConnect requires TCP.

Fixes #10322

Generated with Claude Code

When a SQL connection is established (or reaches the instance with
error class < 25), TCP connectivity is proven. Previously TcpConnected
would remain false if the TCPPort scan type was not included in ScanType,
even though SqlConnect requires TCP. This fixes the test failure when
using ScanType Browser, SqlConnect against SQL Server 2025.

Fixes #10322

(do Find-DbaInstance)

Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
@andreasjordan andreasjordan deleted the claude/issue-10322-20260405-1703 branch April 5, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Find-DbaInstance - TcpConnected returned as false instead of true

1 participant