米Microsoftの「Windows PowerShell 5.0」には多数の新機能が導入されており、全体的な操作性が向上している。筋金入りのWindows PowerShell開発者しか興味を持たない機能もある一方で、広範なユーザーが関心を持つ新機能もある。その1つがリモートファイル編集機能だ。
本連載でこれまでに説明したように、OpenSSH経由でWindowsにリモートログインした場合、そこからはGUIアプリケーションを起動できない。しかし、Windows上の仮想環境やWSL2で動作しているUbuntuから、Windows側のGUIアプリケーションを起動したいケースはある。
前回の記事では、PowerShellプロンプトからコマンドプロンプト(cmd.exeが実体)を起動する例を紹介しましたが、今回は、逆にコマンドプロンプトからPowerShellのコマンドレットやスクリプトを実行する方法を紹介します。日常的なシステム管理にPowerShellを利用 ...
Windows PowerShell has long been an IT administrator’s best friend — but only if you know how to use it properly. Created by Microsoft nearly two decades ago, this object-oriented automation engine ...