PowerShell PowerShell Get-Content "C:\urls.txt" | %{ $Start = Get-Date (Invoke-WebRequest $_).statuscode $TimeTaken = ((Get-Date) - $Start).TotalMilliseconds Write-Host URL $_ Request $i took $TimeTaken ms -ForegroundColor Green } 123456 Get-Content "C:\urls.txt" | %{$Start = Get-Date(Invoke-WebRequest $_).statuscode$TimeTaken = ((Get-Date) - $Start).TotalMillisecondsWrite-Host URL $_ Request $i took $TimeTaken ms -ForegroundColor Green}