Huddled Masses: wget for PowerShell
-
halr9000 · 2 years agoYou can let the path parsing stuff be done by casting to a [system.uri] object.
-
Jaykul · 2 years agoYeah, but it's not just a matter of path parsing... a lot of download sites obscure the file name somewhat by using a URL like domain.com/Downloads/ProjectReleases.aspx?ReleaseId=6426 using system.uri to try to get the file name would have you saving a .zip file as "ProjectReleases.aspx" ...