How can I script the printing of a powershell html report I have generated?
The needs to be run on a box as a scheduled task.
This was more difficult than I thought it would be as I found automating office can't really be done server side as the com objects can only be used in an interactive session.
I also cannot script opening IE and printing the report from there because the formatting was wrong (report got cut off). Also I am not sure this would work running as a task in a non-interactive session.
I tried messing with itextsharp, but this requires more programming knowledge than I have.
I also tried wkhtmltopdf, but the resulting report was hideous.