This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$test = @" | |
blah | |
blah | |
blah | |
Added "tag" to HTML tags to ensure the forum doesn't strip the tags | |
<htmltag> | |
<headtag> | |
<titletag>Some HTML content</titletag> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Out-MyReport { | |
[CmdLetBinding()] | |
param( | |
$obj | |
) | |
begin{} | |
process{ | |
$stringBuilder = New-Object System.Text.StringBuilder | |
$null = $stringBuilder.Append("<table>`r`n") | |
#My Distribution groups had spaces in them and Group-Object did not like it, so I just created another column to group with no spaces |
NewerOlder