I was able to download images from this web page. But how do you get images from the entire website to download?
$folder = 'c:\drawings'
$exists = Test-Path -Path $folder
if (!$exists) { $null = New-Item -Path $folder -ItemType Directory }
explorer $folder
ForEach-Object {
$url = "https://jennifer-aniston.org/gallery/"
$iwr = Invoke-WebRequest -Uri $url -Method GET
$images = ($iwr).Images | select src
$wc = New-Object System.Net.WebClient
$images | foreach { $wc.DownloadFile( $url + $_.src, "$folder\" + [System.IO.Path]::GetFileName($_.src) ) }
}