Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Get-Childitem with Get-FileHash Info

$
0
0

Hello,

I have been able run the following script to get File names in a Recurse folders, although I'm looking to use Get-Filehast too, although I'm not sure or unable to tag this on the end of this script File-filehast info.  could you advise.

my current Get-Childitem script

get-childitem'\\folder1\folder2\folder3'-recurse|

Add-Member

-MemberTypeScriptProperty-NameVersion-Value{

$this

.VersionInfo.ProductVersion

}

-PassThru|


select-object

DirectoryName,Name,Version,LastWriteTime,Length|where{$_.DirectoryName-ne$NULL}

 


Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>