- 追加された行はこの色です。
- 削除された行はこの色です。
* ファイルハッシュの取得 Get-FileHash [#ac1f2751]
dir C:\tmp\*.txt | Get-FileHash
Algorithm Hash Path
--------- ---- ----
SHA256 ABC1234576890 C:\tmp\1.txt
SHA256 XYZ0987654321 C:\tmp\2.txt
*** アルゴリズム指定 [#hd407ee0]
dir * | Get-FileHash -Algorism MD5
*** CSVで管理 [#q4523db8]
dir C:\tmp\*.txt | Get-FileHash | Export-Csv files.csv
Import-Csv files.csv
** 参考 [#y7d133d2]
https://technet.microsoft.com/en-us/library/dn520872.aspx?f=255&MSPPError=-2147217396
https://technet.microsoft.com/en-us/library/dn520872.aspx