Skip to content

Cookbook Scripts

Malcolm Stewart edited this page Mar 10, 2022 · 12 revisions

Cookbook Scripts

This section contains various SQL, PowerShell, VBScript, and CMD scripts to perform various tasks.

Collect the Connectivity Ring Buffer

Determine If I Am Connected to SQL Server using Kerberos Authentication

Determine I have Delegatable Credentials in my ASPX Web Site

Enumerate SQL Server Instances and TCP Settings

One-Line Scripts

Description Shell Command
List Jumbo Frames Settings PowerShell Get-NetAdapterAdvancedProperty
You can also see this in the SQLCheck output
Turn Jumbo Frames On PowerShell Set-NetAdapterAdvancedProperty -Name "Ethernet 2" -RegistryKeyword "JumboPacket" -RegistryValue "2"
Turn Jumbo Frames Off PowerShell Set-NetAdapterAdvancedProperty -Name "Ethernet 2" -RegistryKeyword "JumboPacket" -RegistryValue "0"
Clone this wiki locally