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. |
||
---|---|---|
.. | ||
csharp | ||
fullclr | ||
powershell | ||
PSReadLine | ||
shebang | ||
tools/EchoArgs | ||
map.json | ||
README.md |
Testing
The tests are organized by testing language. Thus Pester tests, which are written in the PowerShell language, are in ./powershell and xUnit tests, written in C#, are in ./csharp. The sanity tests for the Full .NET build of PowerShell are in ./fullclr, and the third-party shebang test is in ./shebang.