Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Convert the Errorlog collector scripts in SQL Base to a PowerShell script #167

@PiJoCoder

Description

@PiJoCoder

Do you want to request a feature or report a bug?
feature

What is the current behavior?
Using T-SQL and a Javascript file

What is the expected behavior?
Create a PS1 file to do the work of collecting logs. You can borrow the logic from here - https://github.com/microsoft/SQL_LogScout/blob/main/SQL%20LogScout/SQLLogScoutPs.ps1#:~:text=function%20GetSQLErrorLogsDumpsSysHealth()

Which versions of SQL Server and which OS are affected by this issue? Did this work in previous versions of our procedures?
All supported versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions