π Enhancements
Windows Event Log Integration: The application now logs lifecycle events (Start, Success, Fatal Errors) to the Windows Application Log under the source SQLScripter.
Event Source Registration: Added a dedicated
Register-EventSource.ps1
script to easily register the event source with administrative privileges.
Improved Script Headers: Refined headers to display "master" instead of "(server)" for server-level objects and optimized database name visibility.
Granular Scripting Progress: Added real-time console feedback indicating exactly which object type is currently being processed.
π§ Bug Fixes & Stability
Connection Leak Fix: Implemented the "Zombie Transaction Fix" to ensure database connections are properly disposed of, preventing potential exhaustion in large environments.
Selective Scripting: Improved logic for scripting individual object types when specified via command-line arguments.
π¦ Distribution
Optimized Binary: Switched to framework-dependent deployment, reducing the download size by 90% (now ~9MB).
Note: Requires .NET 8 Runtime.