terse 当前离线
中将
$AFile = "c:\test\a.txt" $DFile = "c:\test\add.txt" $Hash = @{} Get-Content $AFile | %{ if(!$Hash.ContainsKey($_)){ $_ $Hash.Add($_ , 1) } } | Out-File $DFile $Hash.Keys CMD /C "PAUSE"复制代码
评分人数
TOP