A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
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