我只是将使用compare-object的2个.csv文件与两个数据字段进行比较,我得到了预期的结果,但输出格式却不同。 如何从结果中提取信息?
Compare-Object $list1 $list -IncludeEqual |Where-Object { $_.SideIndicator -eq '<=' } | ft *
InputObject SideIndicator
"ABC123","4/11/2016 9:06:01 AM" <=
"XYZ456","4/11/2016 10:21:40 AM" <=
"FOO789","4/11/2016 10:12:43 AM" <=
如何从此输出中提取单个csv值?