diff --git a/PSKoans/Koans/Cmdlets 1/AboutSelectObject.Koans.ps1 b/PSKoans/Koans/Cmdlets 1/AboutSelectObject.Koans.ps1 index 6149ec5e..ec7e224d 100644 --- a/PSKoans/Koans/Cmdlets 1/AboutSelectObject.Koans.ps1 +++ b/PSKoans/Koans/Cmdlets 1/AboutSelectObject.Koans.ps1 @@ -68,7 +68,7 @@ Describe 'Select-Object' { $PropertyToExpand = '____' - $Value = Get-Item -Path $PSHome | Select-Object -ExpandProperty $PropertyToExpand + $Value = Get-Item -Path $PSHome | Select-Object -ExpandProperty $PropertyToExpand -ErrorAction SilentlyContinue $Value | Should -Be 'Directory' }