`Get-WinEvent` supports a parameter set with the Path parameter. This searches archive event logs and only accepts XPath filters.
Get-WinEventsupports a parameter set with the Path parameter. This searches archive event logs and only accepts XPath filters.