windows10でuniqを使う方法

http://tadaoyamaoka.hatenablog.com/entry/2018/02/24/113946
実行ファイルとしてsortはあるけどuniqは存在しないので、powershellの `Get-Unique` を使うといい。

cat sourcefile.txt | Get-Unique > unique.txt

……のようにすればuniqと同等のことができる。
ただしpowershell内のコマンドなので、これをバッチファイルに組み込んだりはできない。