Не тестировал:
Код:

$folder = "С:\Work\boeviki"
foreach ($line in (get-content file.txt)) {
[array] $files += [pscustomobject] @{
f = $([uri]($line -split '<a\shref="|"')[1]).segments[-1]
s = [double] ($line -split '-\s|\s[GM]B')[1]
v = ($line -split '\.\d\s|</a')[1]
}}
foreach ($file in $files) | where { [io.file]::exists("$($folder)\$($file.f)") } | {
switch ($file.v) {
'GB' { $s = [math]::round((gi "$($folder)\$($file.f)").length / 1GB,1) }
'MB' { $s = [math]::round((gi "$($folder)\$($file.f)").length / 1MB,1) }
}
"$($file)<$(file.s) $($file.v)><$(s) $($file.v)>" | add-content "C:\info\$($folder.name).txt"
}
invoke-item "C:\info\$($folder.name).txt"
где file.txt -- исходный файл