We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05391cd commit 92822caCopy full SHA for 92822ca
blog post html convert code.ps1
@@ -1,11 +1,16 @@
1
<#
2
3
-$Url = 'https://i1.wp.com/sqldbawithabeard.com/wp-content/uploads/2020/08/image-16.png'
+$Images = 3..8
4
+$path = '2020/07/'
5
+
6
+foreach($image in $Images){
7
+$Url = 'https://i1.wp.com/sqldbawithabeard.com/wp-content/uploads/' + $path + 'image-' + $Image + '.png'
8
$fileName = $Url.Split('/')[-1]
9
$filepathpart = $Url.Split('/')[-3..(-1)] -join '\'
10
$OutputFile = 'C:\Users\mrrob\OneDrive\Documents\GitHub\robsewell\assets\uploads\' + $filepathpart
-
11
Invoke-WebRequest -Uri $Url -OutFile $OutputFile
12
+}
13
14
15
#>
16
0 commit comments