diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md index 61f1038fd66..a91511ae03c 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md @@ -1,7 +1,7 @@ --- description: Describes how to define and use parameter sets in advanced functions. Locale: en-US -ms.date: 03/11/2022 +ms.date: 06/05/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_parameter_sets?view=powershell-5.1&WT.mc_id=ps-gethelp title: about Parameter Sets --- @@ -125,10 +125,10 @@ function Measure-Lines { } if ($Path) { - $Files = Get-ChildItem -Path $Path -Recurse:$Recurse + $Files = Get-ChildItem -Path $Path -Recurse:$Recurse -File } else { - $Files = Get-ChildItem -LiteralPath $LiteralPath + $Files = Get-ChildItem -LiteralPath $LiteralPath -File } } process { diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md index 734001cc784..c613583f5a5 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md @@ -1,7 +1,7 @@ --- description: Describes how to define and use parameter sets in advanced functions. Locale: en-US -ms.date: 03/11/2022 +ms.date: 06/05/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_parameter_sets?view=powershell-7.2&WT.mc_id=ps-gethelp title: about Parameter Sets --- @@ -125,10 +125,10 @@ function Measure-Lines { } if ($Path) { - $Files = Get-ChildItem -Path $Path -Recurse:$Recurse + $Files = Get-ChildItem -Path $Path -Recurse:$Recurse -File } else { - $Files = Get-ChildItem -LiteralPath $LiteralPath + $Files = Get-ChildItem -LiteralPath $LiteralPath -File } } process { diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md index da97076b0c6..738d94f537f 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md @@ -1,7 +1,7 @@ --- description: Describes how to define and use parameter sets in advanced functions. Locale: en-US -ms.date: 03/11/2022 +ms.date: 06/05/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_parameter_sets?view=powershell-7.3&WT.mc_id=ps-gethelp title: about Parameter Sets --- @@ -125,10 +125,10 @@ function Measure-Lines { } if ($Path) { - $Files = Get-ChildItem -Path $Path -Recurse:$Recurse + $Files = Get-ChildItem -Path $Path -Recurse:$Recurse -File } else { - $Files = Get-ChildItem -LiteralPath $LiteralPath + $Files = Get-ChildItem -LiteralPath $LiteralPath -File } } process { diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md index d5b91d8e861..b14bfc99d05 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md @@ -1,7 +1,7 @@ --- description: Describes how to define and use parameter sets in advanced functions. Locale: en-US -ms.date: 03/11/2022 +ms.date: 06/05/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_parameter_sets?view=powershell-7.4&WT.mc_id=ps-gethelp title: about Parameter Sets --- @@ -125,10 +125,10 @@ function Measure-Lines { } if ($Path) { - $Files = Get-ChildItem -Path $Path -Recurse:$Recurse + $Files = Get-ChildItem -Path $Path -Recurse:$Recurse -File } else { - $Files = Get-ChildItem -LiteralPath $LiteralPath + $Files = Get-ChildItem -LiteralPath $LiteralPath -File } } process {