From c295d1172c5100f43ddda9749856992de7d48469 Mon Sep 17 00:00:00 2001 From: Schnittlauch <83691383+IrgendwasMitSchnittlauch@users.noreply.github.com> Date: Tue, 14 May 2024 14:39:20 +0200 Subject: [PATCH] Update ForEach-Object.md --- reference/7.4/Microsoft.PowerShell.Core/ForEach-Object.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reference/7.4/Microsoft.PowerShell.Core/ForEach-Object.md b/reference/7.4/Microsoft.PowerShell.Core/ForEach-Object.md index 7784e209f403..3c4f8de88593 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/ForEach-Object.md +++ b/reference/7.4/Microsoft.PowerShell.Core/ForEach-Object.md @@ -650,6 +650,12 @@ that describes the operation. This parameter was introduced in PowerShell 7.0. + +> [!NOTE] +> The **-Parallel** Parameter is not supported in **Foreach ($item in $array)** scenarios +> You have to directly pipe an array like **$array | foreach -parallel** + + ```yaml Type: System.Management.Automation.ScriptBlock Parameter Sets: ParallelParameterSet