Read the statement by Michael Teeuw here.
Re: [Magic Mirror Module Development - Powershell embeded](/topic/17537/magic-mirror-module-development-powershell-embeded)
-
Re: Magic Mirror Module Development - Powershell embeded
Guys, simply put - how can I runt a powershell script within a module - a new module - and obtain its output !
thanks.
-
@nkc there is nothing built in. I provided a sample that does it w python, change the name of the executable from python to the PowerShell.exe
https://github.com/sdetweil/MMM-PythonPrint
probably have to add parms to PowerShell for a single command
cnd.exe /c … is how u do it for cmd, not PowerShell. I haven’t used PowerShell, and haven’t done much w windows for a few years now
-
@nkc also you asked this in your other topic already
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login