diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Methods.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Methods.md index b8beba557e04..340043fd4ceb 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Methods.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Methods.md @@ -61,13 +61,12 @@ Function Test-ScriptCmdlet } ``` -> [!NOTE] -> Using either a `begin` or `end` block requires that you define all three -> blocks. When using any block, all PowerShell code must be inside one -> of the blocks. - PowerShell 7.3 adds a `clean` block process method. +> [!NOTE] +> Using any of the three named block above, or `dynamicparam` and `clean`, +> requires that all code in a function must reside in a named block. + ### `begin` This block is used to provide optional one-time preprocessing for the function.