/ Published in: Windows PowerShell
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if ($a -eq 0) {Write-warning "You must supply a folder name."; break} $b = @() $c = get-childitem $strFolder foreach ($i in $c) {$b += [system.diagnostics.fileversioninfo]::getversioninfo($i.fullname)} cls -auto