Possible to get File version from an http/https url?

I am able to download a file from a URL using all sorts of methods (invoke-webrequest or $webclient.downloadfile) but i am wondering if it is possible to check that same file I am looking to download and get file version or created date as well.

 

The purpose is to monitor the CHrome for Business download loation and, if it changes, download the file, update the source folder, and update my SCCM DPs. For now though, I just want to know when the file changes as it did this morning, to v67.

EDIT: I have it working fine once the file is downloaded but i would like to know the version to avoid the daily download just to check if its new or not…

 

I cant figure out how to do it, so here i am… thanks!

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

Leave a Reply