BOOKS - OS AND DB - Creating HTML Reports in Windows PowerShell
US $5.49
780616
780616
Creating HTML Reports in Windows PowerShell
Author: Don Jones, The DevOps Collective, Inc.
Year: 2018-10-28
Format: PDF | EPUB | MOBI
File size: 10.2 MB
Language: ENG
Year: 2018-10-28
Format: PDF | EPUB | MOBI
File size: 10.2 MB
Language: ENG
Learn to create beautifully formatted, multi-section HTML reports in PowerShell! Learn to properly use ConvertTo-HTML to produce multi-section, well-formed HTML reports but then go further with a custom EnhancedHTML module! Produce beautiful, color-coded, dynamic, multi-section reports easily and quickly. First, understand that PowerShell isn’t limited to creating reports in HTML. But I like HTML because it’s flexible, can be easily e-mailed, and can be more easily made to look pretty than a plain-text report. But before you dive in, you do need to know a bit about how HTML works. You’ll also notice that this HTML is pretty “clean,” as opposed to, say, the HTML output by Microsoft Word. This HTML doesn’t have a lot of visual information embedded in it, like colors or fonts. That’s good, because it follows correct HTML practices of separating formatting information from the document structure. It’s disappointing at first, because your HTML pages look really, really boring. But we’re going to fix that, also. In order to help the narrative in this book stay focused, I’m going to start with a single example. In that example, we’re going to retrieve multiple bits of information about a remote computer, and format it all into a pretty, dynamic HTML report. Hopefully, you’ll be able to focus on the techniques I’m showing you, and adapt those to your own specific needs.