From 29b951922541dcb35e4f1e6e2f46a7f2b2ecf6c4 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Thu, 26 Dec 2024 18:11:08 -0600 Subject: [PATCH] Fix typo --- reference/5.1/Microsoft.PowerShell.Core/About/about_Break.md | 4 ++-- reference/7.4/Microsoft.PowerShell.Core/About/about_Break.md | 5 +++-- reference/7.5/Microsoft.PowerShell.Core/About/about_Break.md | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Break.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Break.md index cebe43efa51a..712d3cd39816 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Break.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Break.md @@ -1,7 +1,7 @@ --- description: Describes a statement you can use to immediately exit `foreach`, `for`, `while`, `do`, `switch`, or `trap` statements. Locale: en-US -ms.date: 03/01/2023 +ms.date: 12/26/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_break?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Break @@ -169,7 +169,7 @@ when the most specific condition is met. If the final statement executed in the body of a `trap` statement is `break`, the error object is suppressed and the exception is re-thrown. -The following example create a **DivideByZeroException** exception that is +The following example creates a **DivideByZeroException** exception that is trapped using the `trap` statement. ```powershell diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Break.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Break.md index e5d901ad43f7..fa3d26e9ab59 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Break.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Break.md @@ -1,7 +1,7 @@ --- description: Describes a statement you can use to immediately exit `foreach`, `for`, `while`, `do`, `switch`, or `trap` statements. Locale: en-US -ms.date: 03/01/2023 +ms.date: 12/26/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_break?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Break @@ -9,6 +9,7 @@ title: about_Break # about_Break ## Short description + Describes the `break` statement, which provides a way to exit the current control block. @@ -169,7 +170,7 @@ when the most specific condition is met. If the final statement executed in the body of a `trap` statement is `break`, the error object is suppressed and the exception is re-thrown. -The following example create a **DivideByZeroException** exception that is +The following example creates a **DivideByZeroException** exception that is trapped using the `trap` statement. ```powershell diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Break.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Break.md index 21da868ab6f4..7ada85c133b1 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Break.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Break.md @@ -1,7 +1,7 @@ --- description: Describes a statement you can use to immediately exit `foreach`, `for`, `while`, `do`, `switch`, or `trap` statements. Locale: en-US -ms.date: 03/01/2023 +ms.date: 12/26/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_break?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Break @@ -170,7 +170,7 @@ when the most specific condition is met. If the final statement executed in the body of a `trap` statement is `break`, the error object is suppressed and the exception is re-thrown. -The following example create a **DivideByZeroException** exception that is +The following example creates a **DivideByZeroException** exception that is trapped using the `trap` statement. ```powershell