Who are these scripts for? You need to troubleshoot performance problems with SQL Server, and you need to do it now. You don't have time to track down a bunch of DMVs, figure out Extended Events, ...
There are many ways to set system properties. This tool provides a graphical user interface so that you can set properties without having to write code. To open this page, start SQL Server Management ...