You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New-DbaFirewallRule - Fix binary path extraction and remove dead code
- Replace unsafe -replace regex (returns original string on no match, so a
non-matching BinaryPath would silently produce a wrong Program path) with
-match + $Matches[1] for both sqlservr.exe and sqlbrowser.exe detection
- Remove unused \$programNeeded variable (was set but never read)
(do New-DbaFirewallRule)
Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
0 commit comments