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


$p = Start-Process "$env:WINDIR\System32\cmd.exe" `
    -ArgumentList "/k title $Title & powershell.exe -NoProfile -Command `"ping.exe $($Command -replace '^ping\s+', '') | ForEach-Object { Write-Host ((Get-Date -Format 'HH:mm:ss') + ' ' + `$_) }`"" `
    -PassThru