Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Output HTML of latest helpdesk emails – advice

$
0
0

Hi all, I’ve only started using powershell a lot this year, wanting some advice.

I made a script that ouputs an html table with the latest 5 emails sent to helpdesk, we use Google Apps here, (G Suite…).

Script: http://pastebin.com/FpK6kKiR

I’m trying to clean up the xml filtering part, but unsure how, I tried to put it in a function but couldn’t get it working since the function would need to return each separate variable…

Should I try use a loop or similar?

Thanks

edit: updated pastebin link with more comments

submitted by /u/NZ_KGB
[link] [comments]

The post Output HTML of latest helpdesk emails – advice appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles