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.
Peter McDonald
May 08, 2017Iron Contributor
A 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.
If required you can have a separate script the cleans it up each week or month.
- Brendan LeddyMay 09, 2017Copper Contributor
Thanks Peter, I'll give that a go and see how I get on!
Brendan