Answers for "get date from file name that has date and time in reverse order"

0

get date from file name that has date and time in reverse order

Get-ChildItem \\server\folder -Filter Examplefile*.txt |
  Sort-Object { $_.BaseName -replace '.+(\d{2})(\d{2})(\d{2})', '$3$1$2' }
Posted by: Guest on January-07-2021

Code answers related to "get date from file name that has date and time in reverse order"

Browse Popular Code Answers by Language