PowerShell Display Table In HTML Email

后端 未结 7 2325
春和景丽
春和景丽 2021-01-02 12:17

Ok, this may have been answered, but I\'m new and trying to learn, so I guess I\'m not \"getting\" it. I have a variable that contains a table of information (I got it from

7条回答
  •  迷失自我
    2021-01-02 12:40

    generalized answer:

    $body+=($variable|Select-Object property1,property2|ConvertTo-Html)

    just use you own variables and properties. When other people search for solutions, this is what we want to see.

提交回复
热议问题