-
-
Save alibay7/302e348f5e85b593a3b2bbf50d33fe46 to your computer and use it in GitHub Desktop.
Revisions
-
msuiche created this gist
Jan 13, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ dir . | Foreach-Object{ $file = $_ $hash = Get-FileHash $file -Algorithm MD5 $fileinfo = Get-Item $file New-Object -TypeName PSObject -Property @{ VersionInfo = $fileinfo.VersionInfo LastWriteTime = $fileinfo.LastWriteTime Length = $fileinfo.Length Algorithm = $hash.Algorithm MD5 = $hash.Hash Name = $fileinfo.Name } } | Format-List