EvotecIT/PSWinReporting

v2 setup instructions?

cvocvo opened this issue · 4 comments

Are there any v2 setup instructions? I read this: https://evotec.xyz/the-only-powershell-command-you-will-ever-need-to-find-out-who-did-what-in-active-directory/

But I was looking for the v2 equivalent of the "How do I get this running" section for v1: https://evotec.xyz/hub/scripts/pswinreporting-powershell-module/
Exit outcome would be to generate a similar report to v1's HTML and email it. It looks like the Dashimo HTML may have additional functionality that won't render correctly/work propertly in a regular email. (Specifically datatables and tabs)

Thank you!
Chris

In the examples you've multiple examples for different things. I know it's not same, but it's a start.

Hi @PrzemyslawKlys, thanks for the quick reply. Is there any way to use the Dashimo code listed under the Dashimo with Find-Events section to generate an email similar to v1?

the examples show v2 configuration which has built-in email functionality. You could also just wrap around and use PSWriteHTML aka Dashimo aka Emailimo to send email with content generrated with Find-Events either by inserting directly tables into email or indirectly attaching whole file.

https://evotec.xyz/easy-way-to-send-emails-using-microsoft-graph-api-office-365-with-powershell/

Can you point me in the direction of where that built-in email functionality is? (aside from Dashimo)

The problem I see with the Dashimo approach is that I don't think regular Outlook or other mail clients are going to render these files. So my line of thought is that we have to attach and open an attachment every time orfind a methodology similar to v1 where it prints a nice table-based email.
image

I could be misunderstanding, but that's generally my understanding at the moment. Sidebar: Thank you! V1 of this tool has been great / useful to notice small AD changes over time.