規模が大きいプログラムを作る時には、共通ロジックを作成し、外部ファイルとして読み込み管理することが多いです。 今回はその方法についてPowerShellでの扱い作法を調べてみます。 1. 外部ps1ファイルを取り込む方法 呼び出し先:をcommon.ps1(① ...
Desired State Configuration (DSC) is an excellent tool to get control of your infrastructure. A core component of DSC is the DSC resource. When DSC was introduced, administrators had to create a ...
The PowerShellGet module is the command(s) for discovering, installing, updating and publishing PowerShell artifacts like Modules, DSC Resources, Role Capabilities, and Scripts. As of April 2020, the ...