Загрузка данных


$paths=@('C:\$WINDOWS.~BT\Sources\Panther','C:\$WINDOWS.~BT\Sources\Rollback','C:\Windows.old\Windows\Panther','C:\Windows\Logs\MoSetup'); foreach($p in $paths){Write-Host "`n=== $p ==="; if(Test-Path $p){Get-ChildItem $p -File -ErrorAction SilentlyContinue | Select Name,LastWriteTime}else{Write-Host "НЕТ"}}