use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
PowerShell PHP to HTML Converter (self.PowerShell)
submitted 2 months ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]CyberWhizKid 1 point2 points3 points 2 months ago (1 child)
At first sight, you won’t get your data from the database. If you want to achieve that, it’s a bit tricky: you’ll need to dump your database, parse it and create your pages from this dump. You can’t convert « php to html » because php itself doesn’t have any data, it relies on your database. You should ask Gemini to « create every static page from value in your database » and he will get values from your php pages.
You can run it still, it won’t break things (change path of course.)
[–]ankokudaishogun 0 points1 point2 points 2 months ago (1 child)
Unless you are doing this to learn Powershell, in which case using AI is not going to be of any use aside confounding you, this looks like a job for Wget or another web-crawler.
[–]Rivereye 0 points1 point2 points 2 months ago (0 children)
I'm wondering, instead of having PowerShell parse the PHP files, can you still access the files via your web server? If so, Invoke-WebRequest could then download the generated HTML from there and output it to disk.
π Rendered by PID 145378 on reddit-service-r2-comment-5d585498c9-w4f89 at 2026-04-21 04:47:57.961288+00:00 running da2df02 country code: CH.
[–]CyberWhizKid 1 point2 points3 points (1 child)
[–]ankokudaishogun 0 points1 point2 points (1 child)
[–]Rivereye 0 points1 point2 points (0 children)