Dear Friends
How can i retrive the SQL Server startup parameter using SQL Query?? Plz help me
Thanks in advance
Dear Friends
How can i retrive the SQL Server startup parameter using SQL Query?? Plz help me
Thanks in advance
Check This. It might help you.
The lines below is of your interest.
$startupParameters = $wmiserver.Services['MSSQLSERVER'].StartupParameters # YMMV on the service name if you use named instances
$mtlSetting = $startupParameters.split(';') | ? { $_.StartsWith('-g'
You can use CLR Stored proc to use WMI. Here is a tutorial.