Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.09 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.09 KB

logo MSSQL-Logger

A power-shell script that extracts Logon and Transactional Logs to CSV files. It gathers logs for the past day. The log file name will contain the day that the script was ran on.

Prerequisites

  • PowerShell

  • MSSQL server. Download the express edition if you need it for free local developement.

  • Sqlserver Powershell Module.
    Run the following command in a PowerShell Terminal:

Install-Module -Name SqlServer

For reference, check https://docs.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module

Built With

Authors

License

This project is licensed under the MIT License.