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

File name Compare

$
0
0

I have multiple files stored on a server, in one folder that i need to compare.  It needs to be sent to an email address with the current day files. The log file name changes every day and has date and time in the filename. How would i do this comparison.

File names being compared are below.

Format Update_YYYYMMDDHHMMSS~~.log

Update_2014020419050001.log

Update_2014020519010000.log

Also there may be multiple Update files per day with different times.

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles