Commit a2d3283
Find-DbaInstance - Set TcpConnected=true when SqlConnect succeeds
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>1 parent 8987045 commit a2d3283
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| 521 | + | |
521 | 522 | | |
522 | 523 | | |
523 | 524 | | |
| |||
542 | 543 | | |
543 | 544 | | |
544 | 545 | | |
| 546 | + | |
545 | 547 | | |
546 | 548 | | |
547 | 549 | | |
| |||
0 commit comments