From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UAgOMOeJ314BPwAA0tVLHw (envelope-from ) for ; Tue, 09 Jun 2020 13:08:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2I/pK+eJ315cWQAAB5/wlQ (envelope-from ) for ; Tue, 09 Jun 2020 13:08:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4196D9401CB for ; Tue, 9 Jun 2020 13:08:55 +0000 (UTC) Received: from localhost ([::1]:42364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jidzo-00040E-HB for larch@yhetil.org; Tue, 09 Jun 2020 09:08:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jidzQ-0003xF-9u for emacs-orgmode@gnu.org; Tue, 09 Jun 2020 09:08:28 -0400 Received: from mout.perfora.net ([74.208.4.197]:60729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jidzP-0004sa-A2 for emacs-orgmode@gnu.org; Tue, 09 Jun 2020 09:08:27 -0400 Received: from [192.168.24.2] ([69.142.220.70]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LqBHC-1j4vSO47N2-00drpW; Tue, 09 Jun 2020 15:08:21 +0200 Subject: Re: FWD: Org-Babel Support for Powershell To: numbchild@gmail.com, stanislaw_lem@tutanota.com References: <87tuzofg4h.fsf@gmail.com> From: Neil Cherry Autocrypt: addr=ncherry@linuxha.com; prefer-encrypt=mutual; keydata= mDMEXeDH+hYJKwYBBAHaRw8BAQdAQirJmkWB3TV+4OT1LdNet8ycO39N+GJvszPR+vquNM+0 GW5qYyA8bmNoZXJyeUBsaW51eGhhLmNvbT6IlgQTFggAPhYhBP1qkMI69h4X6AE6XbIDVCka H136BQJd4Mf6AhsDBQkJZgGABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJELIDVCkaH136 HhoA/1y5Qmz2WE1j7UY5TZAus//7oB+kBwVrhZTQiJyPRCj/AQDqj+CjmCya5K+OXH/rsEov WxrQNkrUteSfjX4jcb2cDrg4BF3gx/oSCisGAQQBl1UBBQEBB0CBju/glr36yM6htPQg4lw5 JYxQmZ9EA7UIS+NhlwOWTgMBCAeIfgQYFggAJhYhBP1qkMI69h4X6AE6XbIDVCkaH136BQJd 4Mf6AhsMBQkJZgGAAAoJELIDVCkaH136m8MBAJnYBs6xPxMugJ5sK4lNUhiLntI4UYt7guuR ZFm7mr/sAP0TIaAqvUupMNkmcdcyIrMOElYaCCT2eumPUbZLrSDuAg== Message-ID: <66704027-618f-afdb-112d-8fdeeb432a53@linuxha.com> Date: Tue, 9 Jun 2020 09:08:17 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <87tuzofg4h.fsf@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qQrDlTAuhkLx3YOgdwrDSgGfD3KPNYY8q" X-Provags-ID: V03:K1:COH5FuX5dkVCpaeGFoq68YHgqJTlvYzK7yNnnphITXpv0zihLls LU0Oe8f3JkDBw4ZoIVHlpmf/oxHXgBitRAlaQd9yXiqh3q8xPTwlb1LK17Hw6sBNnepH8a5 hnOskaHgb7tHVzYm5IO1eP70b5qv9IwaBCEd0j8bhZAJyAxiK/V1f/DqZb9YnlbHJq+544c pikQHJmz10TE2XY3Fyslw== X-UI-Out-Filterresults: notjunk:1;V03:K0:EsWnRivu018=:seqx21bncg2JS/6mHod7Yr k/wx6T4bCJrSvrFQkL6dRhsUTE1TeVuGi4TeLjZSlSbTebswNwfBVykfrR5h2TO0jo8i/eR4N wrOmh9XK7AXLvj126C3I/gPiMCuKVOkzGSvxrAxD2zvzYFfXSC4Jgw1O/x0ffOmW/l4rj//7l qOAtT67dWUCxoOoLdAHooxpwVEWf+4Mw8RKuYuWDiDkRmXDvmusT4XRSYqepWnB0ejRzrPs+6 VXF2gaPP2gDGsuHn9wdoxRsua0EYGibrHDz7QqA88GLpN9UT6pM1rCPL4K+kapbPqd9pDmaYz +8u+HK0alsGQME3ywF8P49beb0tEDWLahXRQBERSebBvxLCzrQPQ7JuY7lt4fNMbUbD3QJKI2 A2hbOziw2Wjuh94RWhDFJ2Jq78dV29nEUHB1ALya3G4ZqrO68mAvKCbqyBSo01Wt7Bobg9k5l CjquPB1IcuNel1HbkyvQ6UDJ4OCXjnc1aGgz1JzzC+lDt3cSghToijzUyrffTOrndfaY5wIks N7rUpKoV47bJ9EQScffJnZGRFaJ9yyislAeLcvy8rmM/zqW4Zn7mPiq4Cc/cVHEUjtUUCcWFy wK8MSUgfqyVqs2acgBTfaZ9havcwKNOcsDYraCwqVUcNqOvLE4ThFND28zhIStbrQuvGjln1L 3v2o8tDONBwqDfYrkv/8XD+NWts6xnCCYqj7YARoiXi+mqLbWVm+j/MLCldWm9ZiQLD3Yi0+m wNIPa1ZOIZObxo1WvZ6TS7473A/cbJd+e8uHEmvqdy5ZEpfpfemtWIm08sLu3ZdjzFX70p/YD r3XO1o30ka7+jivBBY6Y03DCDc0nToAAcEYFMtLT73o6GpPLqGhgnO6IQqb552ietbYOGrz Received-SPF: pass client-ip=74.208.4.197; envelope-from=ncherry@linuxha.com; helo=mout.perfora.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/09 09:08:25 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: +pTB82/xdGWz This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qQrDlTAuhkLx3YOgdwrDSgGfD3KPNYY8q Content-Type: multipart/mixed; boundary="paRJbJ1YLaoS0YxdEmmHl5PAqrDPhfB0l" --paRJbJ1YLaoS0YxdEmmHl5PAqrDPhfB0l Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/6/20 10:01 AM, stardiviner wrote: > I remember already there are some ob-powershell relative projects. You = might > want to work and improve features on those work. And integrate it into = Org Mode. >=20 > - https://gist.github.com/cbilson/ae0d90d163be4d769f8a15ddb58292bc Using this in Windows 10. I found that I've had to change: "-NoLogo -NonInteractive")) to "-NoLogo -NonInteractive -ExecutionPolicy Bypass ")) ;;; need to avoid M= S no scripts policy I needed to user powershell to get around some of the stdout issues with = cygwin and mgwin. I've not used powershell before so I'm still learning it. Definitely not = in Unix anymore. Thirty five years of Unix and DOS makes this a very strang= e beast. > - https://github.com/togakangaroo/ob-pwsh I hadn't seen this one, I'll take a look at it later. --=20 Linux Home Automation Neil Cherry ncherry@linuxha.com http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies --paRJbJ1YLaoS0YxdEmmHl5PAqrDPhfB0l-- --qQrDlTAuhkLx3YOgdwrDSgGfD3KPNYY8q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQT9apDCOvYeF+gBOl2yA1QpGh9d+gUCXt+JwgAKCRCyA1QpGh9d +s5gAQD8kc9ClHZRXrWkaJYgypCihVRyyHmm1SLHT7eTErH1KQD+L/+eh4FxBaVK KQ9unq48x2JbiwGnT9/0jgW51X/AdA8= =okpZ -----END PGP SIGNATURE----- --qQrDlTAuhkLx3YOgdwrDSgGfD3KPNYY8q--