PowerShell PowerShell url = "http://bit.ly/e0Mw9w" $request = [System.Net.WebRequest]::Create($url) $request.AllowAutoRedirect=$false $response=$request.GetResponse() $trueUrl = $response.GetResponseHeader("Location") "$url -> $trueUrl" 1234567 url = "http://bit.ly/e0Mw9w" $request = [System.Net.WebRequest]::Create($url)$request.AllowAutoRedirect=$false$response=$request.GetResponse()$trueUrl = $response.GetResponseHeader("Location")"$url -> $trueUrl"