powershell call url

powershell.exe -noprofile -command "Invoke-WebRequest -Uri http://xxxx"

ถ้าตั้งค่า Task Scheduler ใน Windows

Program/script : powershell.exe
Add arguments: -noprofile -command "Invoke-WebRequest -Uri http://xxxx"