I am using the getElementsByTagName method. I'm not sure this will work for you. Here's how I get the images from the page using your code above:
$response.ParsedHtml.getElementsByTagName("img")
There are other methods for a class name or identifier. Use $response.ParsedHtml | gm -MemberType Method $response.ParsedHtml | gm -MemberType Method for more options.
source share