本連載でこれまでに説明したように、OpenSSH経由でWindowsにリモートログインした場合、そこからはGUIアプリケーションを起動できない。しかし、Windows上の仮想環境やWSL2で動作しているUbuntuから、Windows側のGUIアプリケーションを起動したいケースはある。
PowerShell modules and scripts aren’t generally written with interactivity in mind. After all, automation is generally about hands-off activities. However, there are times when you might need to write ...
前回の記事では、PowerShellプロンプトからコマンドプロンプト(cmd.exeが実体)を起動する例を紹介しましたが、今回は、逆にコマンドプロンプトからPowerShellのコマンドレットやスクリプトを実行する方法を紹介します。日常的なシステム管理にPowerShellを利用 ...