Skip to content

Instantly share code, notes, and snippets.

@meredoth
Last active June 24, 2025 13:37
Show Gist options
  • Save meredoth/a95398fdd5561d151bd5fd84d6ea2740 to your computer and use it in GitHub Desktop.
Save meredoth/a95398fdd5561d151bd5fd84d6ea2740 to your computer and use it in GitHub Desktop.
A PowerShell script that takes a Discourse topic URL and prints all posts containing external links. This is useful for identifying spam posts that hide links in subtle places, such as within commas or periods. If a post seems suspicious, run this script with the Discourse topic URL as a parameter to display all external links found in the posts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment