Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Help getting a redirected link URL

$
0
0

I have been driving myself crazy trying to determine whether it is even possible using invoke-webrequest or similar.

I have a list of software packages that I want to download from their respective links. say www.thissoftware.com/download, when I browse to it manually in a browser it will redirect to the latest file www.thisoftware.com/download/lastestandgreatest.msi

I am interested in programmatically grabbing the redirected link so that I can grab the file names, specifically for the version number. I feel like I am going in circles and all the google links are purple, I need some help!

Thanks

submitted by /u/hit_the_bricks
[link] [comments]

The post Help getting a redirected link URL appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles