【发布时间】:2019-04-21 01:34:05
【问题描述】:
PowerShell 比较对象 SideIndicator
我有这段代码,它的输出不是预期的
Compare-Object $(Get-Content c:\Folder\List1.txt) $(Get-Content
c:\Folder\List2.txt) |
Out-File C:\Folder\filename.txt
我只想获得“=> SideIndicator”值,而不是两者。即list2有什么不同
【问题讨论】:
标签: windows shell powershell