Microsoftは2026年3月18日(米国時間)、「PowerShell 7.6」の一般提供を開始したと発表した。「Windows」が標準搭載するコマンド実行ツールの最新の長期サポート(LTS)リリースだ。 PowerShell ...
The Redmond-based Microsoft Corporation has successfully turned on the PowerShell Module Browser site. Earlier this month, the Microsoft Docs team announced that the PowerShell Module Browser, a web ...
PowerShellでExcelなどのマクロを操作するのは実はPowerShell単体では出来ません。COMオブジェクトという技術でOfficeのVBAのオブジェクトを呼び出してコード内に実装します。 つまりExcell等のVBA搭載のアプリケーションがなければVBAはPowerShellでは使えません。
規模が大きいプログラムを作る時には、共通ロジックを作成し、外部ファイルとして読み込み管理することが多いです。 今回はその方法についてPowerShellでの扱い作法を調べてみます。 1. 外部ps1ファイルを取り込む方法 呼び出し先:をcommon.ps1(① ...