PowerShell Core | ランタイムバージョン |
---|---|
6.0.0 | 2.0.4 |
6.0.1 | 2.0.5 |
6.0.2 | 2.0.6 |
6.0.3 | 2.0.7 |
6.0.4 | 2.0.7 |
6.0.5 | 2.0.7 |
6.1.0 | 2.1.3 |
6.1.1 | 2.1.5 |
6.1.2 | 2.1.7 |
6.1.3 | 2.1.8 |
6.2.0 | 2.1.8 |
6.2.1 | 2.1.11 |
6.2.2 | 2.1.12 |
6.2.3 | 2.1.13 |
6.2.4 | 2.1.13 |
6.2.5 | 2.1.18 |
6.2.6 | 2.1.19 |
6.2.7 | 2.1.20 |
まあ、ぶっちゃけPowerShell Coreに限った話ならランタイムバージョンはGitHubのソース追った方が早い。
$versionTags = (
'v6.0.0', 'v6.0.1', 'v6.0.2', 'v6.0.3', 'v6.0.4', 'v6.0.5',
'v6.1.0', 'v6.1.1', 'v6.1.2', 'v6.1.3',
'v6.2.0'
)
foreach ($tag in $versionTags) {
$content = Invoke-RestMethod "https://raw.githubusercontent.com/PowerShell/PowerShell/$tag/PowerShell.Common.props"
$runtimeVersion = [string]$content.Project.PropertyGroup.RuntimeFrameworkVersion
Write-Output ('{0} : {1}' -f $tag, $runtimeVersion)
}
PowerShell 7以降ではこのスクリプトは使えません。