New
#1
Help needed in printing the text
Hello Friends,
I am having bunch of url and trying to check whihc url has broken. Finlly endup with creating powershell command. below the code working fine.
But, Is there any way to print the running url? Right now i don't see what's happening on the screen. it's blank. But the process is running. I would like see which url is getting checked. Any suggestion please,Code:@echo off powershell -command "gc 'links.txt'|%%{if($(try{[int][Net.WebRequest]::Create($_).GetResponse().Statuscode}Catch{}) -eq 200){$_}}|sc 'True_URL.txt'" pause
thanks