PowerShell - Operators
You want to filter a list of filenames to include only those that start with 'log' and end with a 4-digit year using PowerShell. Which command correctly uses -match to do this?
$files = @('log2020.txt', 'log2019.csv', 'data2020.log', 'log20a0.txt')