Is that the same powershell script linked from the page (I can't access pastebin)? I'm getting the error "unexpected token 'in $books'". If I remove the for loop I get the error "The term 'Invoke-WebRequest $book -Method Head ' is not recognized as the name of a cmdlet.