diff --git a/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 b/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 index 86004f3fba..ce278d13b4 100644 --- a/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 +++ b/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 @@ -672,7 +672,7 @@ ConstructorTestClass(int i, bool b) $res.CompletionMatches[0].CompletionText | Should -BeExactly Cat } - It 'Should complete cim ETS member added by shortname' -Skip:(!$IsWindows) { + It 'Should complete cim ETS member added by shortname' -Skip:(!$IsWindows -or (Test-IsWinServer2012R2) -or (Test-IsWindows2016)) { $res = TabExpansion2 -inputScript '(Get-NetFirewallRule).Nam' $res.CompletionMatches[0].CompletionText | Should -BeExactly 'Name' }