Functions That Use the Pipeline
Earlier this week I talked about creating HTML reports from within Powershell, using the ConvertTo-HTML cmdlet. One of the technique’s I used was a custom function I wrote called Set-AlternatingRows which took the table created by ConvertTo-HTML and alternated the row colors. This was a great exercise in using Functions and the Pipeline and I wanted to talk about that today.