powershell-host-version

PowerShellバージョン取得 $Host.Versionプロパティ