Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 setup instructions? #79

Open
cvocvo opened this issue Feb 5, 2024 · 4 comments
Open

v2 setup instructions? #79

cvocvo opened this issue Feb 5, 2024 · 4 comments

Comments

@cvocvo
Copy link

cvocvo commented Feb 5, 2024

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

@PrzemyslawKlys
Copy link
Member

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

@cvocvo
Copy link
Author

cvocvo commented Feb 6, 2024

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?

@PrzemyslawKlys
Copy link
Member

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/

@cvocvo
Copy link
Author

cvocvo commented Feb 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants