Powershell – Download Image from an image url


limited knowledge with powershell.
I try to download a image from an image url. for example like this :

Before to reach the link, I have to login first. here is My login page html code:

Here is my powershell code :

I can successfully login and reach the img link, but don’t know how to download the image. What command can helps me to download?


You’re overcomplicating it using COM. I couldn’t test these atm., but they should work.


Powershell – Download Image from an image url by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply