MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Re: [Magic Mirror Module Development - Powershell embeded](/topic/17537/magic-mirror-module-development-powershell-embeded)

    Scheduled Pinned Locked Moved Development
    3 Posts 2 Posters 1.7k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      nkc
      last edited by

      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.

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @nkc
        last edited by sdetweil

        @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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @nkc
          last edited by

          @nkc also you asked this in your other topic already

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy