[Script of May 2] How to check if system_health session has incorrect map keys in SQL Server 2012


Script Download: 
The script is available for download in Microsoft Script Browser for Windows PowerShell ISE. You need to install the Script Browser application first, and search for the script sample title.

This PowerShell script will check if system_health session has incorrect map keys in SQL Server 2012.

Every SQL Server instance has a default extended event session created with the name system_health. This session captures information about the wait_info and wait_info_external events. The current definition of the system_health session contains incorrect map_key specified for the wait_types of interest. Use the information from the knowledge base article to correct the extended event session definition.

image image
 image

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery

Comments (1)

  1. aw says:

    hai, I just want to tell you that I am just very new to blogs and seriously loved this website. More than likely I’m planning to bookmark your blog post .
    You amazingly come with really good posts. Thanks a lot for sharing your blog Microsoft.
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT.%20Brantas%20Abipraya
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT%20Jasa%20Marga
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT%20Bukit%20Asam
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT%20Sarana%20Multigriya%20Finansial
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT%20Wijaya%20Karya%20Beton
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT.%20Kereta%20Api%20Indonesia
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Solo
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT%20Danareksa
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Perusahaan%20umum%20Jaminan%20Kredit%20Indonesia%20Jamkrindo
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT%20Reasuransi%20Internasional%20Indonesia
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT%20Lion%20Super%20Indo
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT.%20Djarum%20Indonesia%20Tbk
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20BPJS%20Ketenagakerjaan
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Staf%20LKPP
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20BUMN
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Terbaru
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Bank
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20SMA
    http://www.lokerjobindo.com
    http://www.yacinta.com
    http://www.kerjabumn.com
    http://www.wisatasia.id/search/label/Wisata-Indonesia

    http://www.wisatasia.id
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PT%20PAL%20Indonesia%20Persero

Skip to main content