Update in: 5 March 2024
:
Important Notice: This plugin is no longer actively maintained or updated. We strongly advise you to explore alternative plugins available in our library for the latest features and support.
This script can monitoring a SqlServer using MSSQL Querys.
Example:
"<PowershellPATH>powershell.exe" querysql.ps1 -H hostname(optional) -U username(optional) -P password(optional) -Q 'MSSQL Query'
If you run as Administrator the script, and your sql account has permissions too, this is the execution:
"<PowershellPATH>powershell.exe" querysql.ps1 -Q 'MSSQL Query'
Module data
module_begin module_name SQL Query module_type generic_data or generic_data_string module_exec "<PowershellPATH>powershell.exe" querysql.ps1 -H hostname(optional) -U username(optional) -P password(optional) -Q 'MSSQL Query' module_end
Files:
(Visited 1,432 times, 1 visits today)