Powershell from Dynamo

Anyway to run powershell from Dynamo? Possibly with a .dll library/one-touch nodes? Looking to send an email from it without using MailMan package.

You start here:

It should be possible.

Here’s a link to a little tutorial on how to spin up an instance of Power Shell and make it execute a script: https://blogs.msdn.microsoft.com/kebab/2014/04/28/executing-powershell-scripts-from-c/

Here’s a link to email sending example via Power Shell (script that you can post): https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage?view=powershell-6

Put these into a ZeroTouch node, and it should send emails.

Cheers!

This looks spot on. I’ll give it a try and update the thread if it works. Thanks for the help.