2015-07-21 02:18:06 +02:00
|
|
|
|
Describe "Test-PSVersionTable" {
|
|
|
|
|
It "Should have version table entries" {
|
|
|
|
|
$PSVersionTable.Count | Should BeGreaterThan 6
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
It "Should have the right version table entries" {
|
|
|
|
|
|
2015-07-24 19:38:51 +02:00
|
|
|
|
$PSVersionTable.ContainsKey("PSVersion") | Should Be True
|
|
|
|
|
$PSVersionTable.ContainsKey("WSManStackVersion") | Should Be True
|
|
|
|
|
$PSVersionTable.ContainsKey("SerializationVersion") | Should Be True
|
|
|
|
|
$PSVersionTable.ContainsKey("CLRVersion") | Should Be True
|
|
|
|
|
$PSVersionTable.ContainsKey("BuildVersion") | Should Be True
|
|
|
|
|
$PSVersionTable.ContainsKey("PSCompatibleVersions") | Should Be True
|
2015-07-21 02:18:06 +02:00
|
|
|
|
$PSVersionTable.ContainsKey("PSRemotingProtocolVersion") | Should Be True
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|