powershell to return and log redirected site?
<p>Afternoon all,
Trying to create a script to go to a webpage and log if it is redirected to an expansion server. For example the site is site.school.net and under high load it is supposed to forward to site2.school.net and site3.school.net. I was looking into powershell just because I want to learn it but I am open to anything that works. I have tried </p>

<pre><code>Start-Process -FilePath FireFox -ArgumentList site.school.net
</code></pre>

<p>and it opens a page and all that but I need to run it like every 10-15 seconds and log the url it was sent to. Any help is appreciated, thanks in advance!</p>