Quantcast
Channel: Windows カテゴリ - すべてのスレッド
Viewing all articles
Browse latest Browse all 99016

LinuxからSSHでWindows10Pro上のPowerShellを起動するとエラーになる

$
0
0
Windows10Pro上で稼働するPowerShellを、RaspberryPiからSSHで起動したいのですが、以下の※の2行がエラーとなります。Windows上でこのバッチを起動してもエラーになりません。Windows10にOpenSSHサーバーを入れて、シェルは問題なく起動してますが、PowerShellだけがエラーとなります。権限、環境等に問題があるかと思いますが、ネットで見ても該当するものがなく、どうかご教示お願い致します。PS-sample.bat---------------powershell -NoProfile -ExecutionPolicy Unrestricted C:\YMY\bin\PS-sample.ps1"------------------------------------------------------------------------# SendKey.ps1(画面をアクティブにして、キーを送信します)Add-Type -AssemblyName Microsoft.VisualBasicAdd-Type -AssemblyName System.Windows.Forms・・・[Microsoft.VisualBasic.Interaction]::AppActivate($Process.ID) ※1[System.Window

Viewing all articles
Browse latest Browse all 99016

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>