sqlcmd-wrapper - go-sqlcmd Windows-Auth fix
============================================

Fixes: plain "sqlcmd" calls without an auth flag failing as
NT AUTHORITY\ANONYMOUS LOGON since Microsoft's go-sqlcmd dropped the old
SSPI/NTLM fallback. Background: see the blog article this ZIP came from.

INSTALL
-------
1. Extract this ZIP anywhere (keep all files together).
2. Double-click Install-SqlcmdWrapper.bat.
3. Approve the Administrator (UAC) prompt.
4. Open a NEW terminal and test:
     where sqlcmd
     sqlcmd -S <server> -q "SELECT @@VERSION"

What it does, automatically:
  - Copies sqlcmd.bat + sqlcmd_wrapper.ps1 to C:\Tools\sqlcmd-wrapper
  - Prepends C:\Tools\sqlcmd-wrapper to the SYSTEM PATH (not user PATH)

UNINSTALL
---------
Double-click Uninstall-SqlcmdWrapper.bat. Removes the PATH entry and
deletes C:\Tools\sqlcmd-wrapper. The real sqlcmd.exe is used directly
again afterwards.

DEBUGGING
---------
Before running sqlcmd, set:
     $env:SQLCMD_WRAPPER_DEBUG = "1"
This prints which real sqlcmd.exe the wrapper found and whether it
inserted -E.

FILES IN THIS ZIP
------------------
  sqlcmd.bat                    - wrapper entry point (installed copy)
  sqlcmd_wrapper.ps1             - wrapper logic (installed copy)
  Install-SqlcmdWrapper.bat/.ps1 - one-click installer (this is what you run)
  Uninstall-SqlcmdWrapper.bat/.ps1 - one-click removal
  README.txt                    - this file

Version: 1.1
