Forum Discussion
Brendan Leddy
May 08, 2017Copper Contributor
Creating a website to display Powershell Script Output
Hi all, I have a quick query, that I'm hoping someone might be able to help me with. I run a number of powershell scripts weekly (Inactive accounts, DA memebers, etc) and the output of each s...
- May 08, 2017A quick and easy solution (depending on your security and other requirements) might be to run up an IIS web service and turn on directory browsing, then use convertto-html | out-file to make up some html files for each report with a date stamp. You can then browse to the webservice and see a listing of all the outputs.
If required you can have a separate script the cleans it up each week or month.
ashstrahle
Jan 28, 2020Copper Contributor
To anyone who may still be interested in this, here’s a working demo of real-time Powershell output to a webpage. https://github.com/ashstrahle/RealtimePowerShellHTMLWindow.git