本連載でこれまでに説明したように、OpenSSH経由でWindowsにリモートログインした場合、そこからはGUIアプリケーションを起動できない。しかし、Windows上の仮想環境やWSL2で動作しているUbuntuから、Windows側のGUIアプリケーションを起動したいケースはある。
前回までで、PowerShell 7.2の主な新機能については一通り紹介したので、連載の流れに戻ろう。 リモートワークで重要な役割を果たしているものの一つがOpenSSHだ。LinuxなどのUNIX系OSでは、OpenSSHを経由してサーバにログインして作業をすることが多い。Windowsで ...
コンピュータを使っていると、パスを加工したくなることがある。すでに存在するディレクトリ/フォルダやファイルなら、エクスプローラーなどのGUIプログラムでパスを得ることができる。しかし、まだ存在しないパス(たとえば、これから作る ...
Learn how to use loops and dynamic object naming in PowerShell to build GUI settings interfaces that can adapt as new parameters are added. For the past several months, I have been hard at work ...
In the first part of this series, I explained that there are occasionally situations in which hard coding a PowerShell interface really isn't an option because the script is almost certainly going to ...
会員(無料)になると、いいね!でマイページに保存できます。 PowerShellとは、マイクロソフトにより開発されたスクリプト言語とその実行環境の総称である。マイクロソフトのスクリプトといえば、かつてコマンドプロンプトやWindows Script Host(WSH)などの ...