LucD
Leadership
Leadership

Nearly, but in 1 string

Get-Content -Path $tempFile | where {$_ -match 'VMX has left the building|CPU reset:|power|Power|vmotion|Vmotion' } |


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post