I’m trying to look for event with event ID 4659. I can do it using:
Get-EventLog -LogName Security -InstanceId 4659
When I look for properties I can find property Message which contains message of event. But I would like to have XML format of event which can be found looking in event viewer. How can I get that XML format of event (including parsed message)?