Windowsは、MS-DOS時代からのBatch言語を持つが、現在のWindows 11では、標準のスクリプト言語としてはWindows PowerShellが付属している。また、過去には、VBScriptや、JavaScriptなどが実行可能となる「Windows Scripting Host」(Windows Script Hostとも)が付属していた(表01)。
I set up 5 Windows automations and forgot they existed — that's the point, and they made my life so much easier.
Windowsは、MS-DOS時代からのBatch言語を持つが、現在のWindows 11では、標準のスクリプト言語としてはWindows PowerShellが付属している。また、過去には、VBScriptや、JavaScriptなどが実行可能となる「Windows Scripting Host」(Windows Script Hostとも)が付属していた(表01)。
今回はスクリプトファイルを作ってみます。Windows PowerShellのプログラムをテキストファイルに作成し、それをコマンドレットのように実行できるようにします。コマンドプロンプトで言うバッチファイル(バッチコマンド)に相当するもので、コマンド ...