Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Parsing Data; Get-FileHash

$
0
0
I am trying to parse and put a hash and file name into a variable with no luck at all... output file from Get-FileHash -Algorithm MD5 C:\windows\system32\ipconfig.exe: Algorithm Hash Path --------- ---- ---- MD5 CF45949CDBB39C953331CDCB9CEC20F8 C:\windows\system32\ipconfig.exe I would like to make this into a script for the entire system32\*exe directory The end result I am looking for is something like this: echo $Hash, $FileName CF45949CDBB39C953331CDCB9CEC20F8 ipconfig.exe I am completely lost and google is not helping much.

Viewing all articles
Browse latest Browse all 6937

Trending Articles