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