Created
October 7, 2019 17:35
-
-
Save mdimai666/74e8604d678b7178f2dea3a5e1d83fe0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $i=0; gc .\list.txt | %{ $i++; echo $i; Invoke-WebRequest $_ -OutFile "path\$(([string]$_).Substring($_.LastIndexOf("/") + 1))" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment