Fix Get-WinEvent -FilterHashtable to work with named event data field Now FilterHashtable parameter in Get-WinEvent for named data field: 1. generates a valid query, ex. @{Logname="System";Param="a"} 2. generates a valid query for multiple values, ex. @{Logname="System";Param="a","b"} Also removed double cast in the original code and added more tests to cover the fixed scenarios. |
||
---|---|---|
.. | ||
assets | ||
Get-WinEvent.Tests.ps1 |