cThis script is not very efficient (downloads everything twice, working on that still BUT)


If you’d like to conveniently download all the ebooks Eric Ligman has been kind enough to share out… You can run this in PowerShell 3.0 or higher (It was tested in Windows 10 – Powershell 5 but should work in earlier versions)


# Create Web client object

$Wc=New-object system.net.webclient


# Download the source page

$result=Invoke-WebRequest -Uri $link

# Get a list of the URLS of the books and resources with Eric’s short name in there

$URIList=$result.links | where { $_.OuterHTML -match ‘ligman.me’ }

Foreach ($URI in $URIList)
# Get the Download link


# Find the original filename (Thanks to Dr. Tobias Weltner’s tip on this!)

# Scoop out the file name

# Download the goodies



This will take a while and it’s NOT going to show a progress bar (you can play with that) but you don’t need to sit and watch.   Warning… this may hit your bandwidth so try to do it on your personal account…. not the company internet