PowerShell: Get Windows Event Log XML
([xml](Get-WinEvent -ProviderName "Application Error" | ? {$_.Message -match 'kleopatra.exe' -and $_.Message -match 'QtGui4.dll'} | Select -First 1).ToXML()).Save([Console]::Out)