- The other day I needed to get the URLs for all pages in my blog for some PowerShell scripting I wanted to do. Like most websites, this blog has a sitemap and I wanted to use that as a source. As I couldn’t find any existing PowerShell scripts on the web that I could use, I just wrote one myself. Now I like to share this script with you.PowerShell script: ConvertFrom-SiteMap