PowerShell PowerShell ps1ファイル自身のパス取得は$PSScriptRootを使う
PowerShellスクリプト(.ps1ファイル)の実行時に、そのスクリプトファイル自身が存在するディレクトリのパスや、ファイル自身のフルパスを取得するには、自動変数の $PSScriptRoot や $PSCommandPath を使用し...
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell