The Find-MarkdownImages cmdlet is used with Publish-MarkdownDriveImages to push local images to google drive. By design, it excludes any external image (starting with https) as these are already publicly accessible and thus do not need to be published to google drive.
However, there are scenarios where we want all the images to be returned. Imagine a script that pulls down the markdown from the blog and then locates the images in the markdown so that it can download them to the local machine.
For example, the Publish-MarkdownDriveImages could pass a -ExcludeExternal switch.
The
Find-MarkdownImagescmdlet is used withPublish-MarkdownDriveImagesto push local images to google drive. By design, it excludes any external image (starting with https) as these are already publicly accessible and thus do not need to be published to google drive.However, there are scenarios where we want all the images to be returned. Imagine a script that pulls down the markdown from the blog and then locates the images in the markdown so that it can download them to the local machine.
For example, the
Publish-MarkdownDriveImagescould pass a-ExcludeExternalswitch.