diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Operators.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Operators.md index d3927924f30a..54a67a8828d2 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Operators.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Operators.md @@ -1,7 +1,7 @@ --- description: Describes the operators that are supported by PowerShell. Locale: en-US -ms.date: 03/31/2023 +ms.date: 09/25/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_operators?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Operators @@ -191,6 +191,27 @@ in parentheses invariably causes _enumeration_ of the expression result. If the parentheses wrap a _command_, it's run to completion with all output _collected in memory_ before the results are sent through the pipeline. +For example, the outputs for these statements are different: + +```powershell +PS> ConvertFrom-Json '["a", "b"]' | ForEach-Object { "The value is '$_'" } + +The value is 'a b' + +PS> (ConvertFrom-Json '["a", "b"]') | ForEach-Object { "The value is '$_'" } + +The value is 'a' +The value is 'b' +``` + +Grouping an expression before piping also ensures that subsequent +object-by-object processing can't interfere with the enumeration the command +uses to produce its output. + +For example, piping the output from `Get-ChildItem` to `Rename-Item` can have +unexpected effects where an item is renamed, then discovered again and renamed +a second time. + ### Subexpression operator `$( )` Returns the result of one or more statements. For a single result, returns a diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md index c8b1896f09a2..d9905166f044 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md @@ -1,7 +1,7 @@ --- description: Describes rules for using single and double quotation marks in PowerShell. Locale: en-US -ms.date: 05/03/2022 +ms.date: 09/25/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_quoting_rules?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Quoting Rules @@ -19,7 +19,7 @@ in single quotation marks (`'`) or double quotation marks (`"`). Quotation marks are also used to create a _here-string_. A here-string is a single-quoted or double-quoted string in which quotation marks are interpreted literally. A here-string can span multiple lines. All the lines in a -here-string are interpreted as strings, even though they are not enclosed in +here-string are interpreted as strings, even though they're not enclosed in quotation marks. In commands to remote computers, quotation marks define the parts of the @@ -59,7 +59,7 @@ The output of this command is: The value of 5 is 5. ``` -Only simple variable references can be directly embedded in an expandable +Only basic variable references can be directly embedded in an expandable string. Variables references using array indexing or member access must be enclosed in a subexpression. For example: @@ -113,7 +113,7 @@ The output of this command is: The value $i is $i. ``` -Similarly, expressions in single-quoted strings are not evaluated. They are +Similarly, expressions in single-quoted strings aren't evaluated. They're interpreted as string literals. For example: ```powershell @@ -213,19 +213,19 @@ A here-string: string Like regular strings, variables are replaced by their values in double-quoted -here-strings. In single-quoted here-strings, variables are not replaced by -their values. +here-strings. In single-quoted here-strings, variables aren't replaced by their +values. -You can use here-strings for any text, but they are particularly useful for -the following kinds of text: +You can use here-strings for any text, but they're particularly useful for the +following kinds of text: - Text that contains literal quotation marks - Multiple lines of text, such as the text in an HTML or XML block - The Help text for a script or function document A here-string can have either of the following formats, where `` -represents the linefeed or newline hidden character that is added when you -press the ENTER key. +represents the linefeed or newline hidden character that's added when you press +the ENTER key. Double-quotes: @@ -244,7 +244,7 @@ Single-quotes: ``` > [!NOTE] -> The final newline character is part of the closing mark. It is not added to +> The final newline character is part of the closing mark. It's not added to > the here-string. A here-string contains all the text between the opening and closing marks. In @@ -266,14 +266,14 @@ Using a here-string can simplify using a string in a command. For example: ```powershell @" -Use a quotation mark (') to begin a string. +Use a quotation mark, like ' or ", to begin a string. "@ ``` The output of this command is: ```Output -Use a quotation mark (') to begin a string. +Use a quotation mark, like ' or ", to begin a string. ``` In single-quoted here-strings, variables are interpreted literally and @@ -356,7 +356,7 @@ can be specified by setting preference variable `$OFS`. For more information, see the [`$OFS` preference variable](about_preference_variables.md#ofs). Instances of any other type are converted to strings by calling the -`ToString()` method which may not give a meaningful representation. For +`ToString()` method, which may not give a meaningful representation. For example: ```powershell diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Operators.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Operators.md index 97cfe109e7ba..bc7882034d34 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Operators.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Operators.md @@ -1,7 +1,7 @@ --- description: Describes the operators that are supported by PowerShell. Locale: en-US -ms.date: 09/05/2023 +ms.date: 09/25/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_operators?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Operators @@ -184,6 +184,10 @@ in parentheses invariably causes _enumeration_ of the expression result. If the parentheses wrap a _command_, it's run to completion with all output _collected in memory_ before the results are sent through the pipeline. +Grouping an expression before piping also ensures that subsequent +object-by-object processing can't interfere with the enumeration the command +uses to produce its output. + ### Subexpression operator `$( )` Returns the result of one or more statements. For a single result, returns a diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md index c025a250c839..f63e34a3bbf4 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md @@ -1,7 +1,7 @@ --- description: Describes rules for using single and double quotation marks in PowerShell. Locale: en-US -ms.date: 05/03/2022 +ms.date: 09/25/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_quoting_rules?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Quoting Rules @@ -19,7 +19,7 @@ in single quotation marks (`'`) or double quotation marks (`"`). Quotation marks are also used to create a _here-string_. A here-string is a single-quoted or double-quoted string in which quotation marks are interpreted literally. A here-string can span multiple lines. All the lines in a -here-string are interpreted as strings, even though they are not enclosed in +here-string are interpreted as strings, even though they're not enclosed in quotation marks. In commands to remote computers, quotation marks define the parts of the @@ -59,7 +59,7 @@ The output of this command is: The value of 5 is 5. ``` -Only simple variable references can be directly embedded in an expandable +Only basic variable references can be directly embedded in an expandable string. Variables references using array indexing or member access must be enclosed in a subexpression. For example: @@ -113,7 +113,7 @@ The output of this command is: The value $i is $i. ``` -Similarly, expressions in single-quoted strings are not evaluated. They are +Similarly, expressions in single-quoted strings aren't evaluated. They're interpreted as string literals. For example: ```powershell @@ -213,19 +213,19 @@ A here-string: string Like regular strings, variables are replaced by their values in double-quoted -here-strings. In single-quoted here-strings, variables are not replaced by -their values. +here-strings. In single-quoted here-strings, variables aren't replaced by their +values. -You can use here-strings for any text, but they are particularly useful for -the following kinds of text: +You can use here-strings for any text, but they're particularly useful for the +following kinds of text: - Text that contains literal quotation marks - Multiple lines of text, such as the text in an HTML or XML block - The Help text for a script or function document A here-string can have either of the following formats, where `` -represents the linefeed or newline hidden character that is added when you -press the ENTER key. +represents the linefeed or newline hidden character that's added when you press +the ENTER key. Double-quotes: @@ -244,7 +244,7 @@ Single-quotes: ``` > [!NOTE] -> The final newline character is part of the closing mark. It is not added to +> The final newline character is part of the closing mark. It's not added to > the here-string. A here-string contains all the text between the opening and closing marks. In @@ -266,14 +266,14 @@ Using a here-string can simplify using a string in a command. For example: ```powershell @" -Use a quotation mark (') to begin a string. +Use a quotation mark, like ' or ", to begin a string. "@ ``` The output of this command is: ```Output -Use a quotation mark (') to begin a string. +Use a quotation mark, like ' or ", to begin a string. ``` In single-quoted here-strings, variables are interpreted literally and @@ -356,7 +356,7 @@ can be specified by setting preference variable `$OFS`. For more information, see the [`$OFS` preference variable](about_preference_variables.md#ofs). Instances of any other type are converted to strings by calling the -`ToString()` method which may not give a meaningful representation. For +`ToString()` method, which may not give a meaningful representation. For example: ```powershell diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Operators.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Operators.md index 31d700e1d3b8..131d9671c8e6 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Operators.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Operators.md @@ -1,7 +1,7 @@ --- description: Describes the operators that are supported by PowerShell. Locale: en-US -ms.date: 09/05/2023 +ms.date: 09/25/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_operators?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Operators @@ -184,6 +184,10 @@ in parentheses invariably causes _enumeration_ of the expression result. If the parentheses wrap a _command_, it's run to completion with all output _collected in memory_ before the results are sent through the pipeline. +Grouping an expression before piping also ensures that subsequent +object-by-object processing can't interfere with the enumeration the command +uses to produce its output. + ### Subexpression operator `$( )` Returns the result of one or more statements. For a single result, returns a diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md index 0ee2bc7ce460..c8984d2d053d 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md @@ -1,7 +1,7 @@ --- description: Describes rules for using single and double quotation marks in PowerShell. Locale: en-US -ms.date: 05/03/2022 +ms.date: 09/25/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_quoting_rules?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Quoting Rules @@ -19,7 +19,7 @@ in single quotation marks (`'`) or double quotation marks (`"`). Quotation marks are also used to create a _here-string_. A here-string is a single-quoted or double-quoted string in which quotation marks are interpreted literally. A here-string can span multiple lines. All the lines in a -here-string are interpreted as strings, even though they are not enclosed in +here-string are interpreted as strings, even though they're not enclosed in quotation marks. In commands to remote computers, quotation marks define the parts of the @@ -59,7 +59,7 @@ The output of this command is: The value of 5 is 5. ``` -Only simple variable references can be directly embedded in an expandable +Only basic variable references can be directly embedded in an expandable string. Variables references using array indexing or member access must be enclosed in a subexpression. For example: @@ -113,7 +113,7 @@ The output of this command is: The value $i is $i. ``` -Similarly, expressions in single-quoted strings are not evaluated. They are +Similarly, expressions in single-quoted strings aren't evaluated. They're interpreted as string literals. For example: ```powershell @@ -213,19 +213,19 @@ A here-string: string Like regular strings, variables are replaced by their values in double-quoted -here-strings. In single-quoted here-strings, variables are not replaced by -their values. +here-strings. In single-quoted here-strings, variables aren't replaced by their +values. -You can use here-strings for any text, but they are particularly useful for -the following kinds of text: +You can use here-strings for any text, but they're particularly useful for the +following kinds of text: - Text that contains literal quotation marks - Multiple lines of text, such as the text in an HTML or XML block - The Help text for a script or function document A here-string can have either of the following formats, where `` -represents the linefeed or newline hidden character that is added when you -press the ENTER key. +represents the linefeed or newline hidden character that's added when you press +the ENTER key. Double-quotes: @@ -244,7 +244,7 @@ Single-quotes: ``` > [!NOTE] -> The final newline character is part of the closing mark. It is not added to +> The final newline character is part of the closing mark. It's not added to > the here-string. A here-string contains all the text between the opening and closing marks. In @@ -266,14 +266,14 @@ Using a here-string can simplify using a string in a command. For example: ```powershell @" -Use a quotation mark (') to begin a string. +Use a quotation mark, like ' or ", to begin a string. "@ ``` The output of this command is: ```Output -Use a quotation mark (') to begin a string. +Use a quotation mark, like ' or ", to begin a string. ``` In single-quoted here-strings, variables are interpreted literally and @@ -356,7 +356,7 @@ can be specified by setting preference variable `$OFS`. For more information, see the [`$OFS` preference variable](about_preference_variables.md#ofs). Instances of any other type are converted to strings by calling the -`ToString()` method which may not give a meaningful representation. For +`ToString()` method, which may not give a meaningful representation. For example: ```powershell diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Operators.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Operators.md index 4c77aa535acd..52d92324609c 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Operators.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Operators.md @@ -1,7 +1,7 @@ --- description: Describes the operators that are supported by PowerShell. Locale: en-US -ms.date: 09/05/2023 +ms.date: 09/25/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_operators?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Operators @@ -184,6 +184,10 @@ in parentheses invariably causes _enumeration_ of the expression result. If the parentheses wrap a _command_, it's run to completion with all output _collected in memory_ before the results are sent through the pipeline. +Grouping an expression before piping also ensures that subsequent +object-by-object processing can't interfere with the enumeration the command +uses to produce its output. + ### Subexpression operator `$( )` Returns the result of one or more statements. For a single result, returns a diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md index 6979fa1ca41b..c96ab73ea845 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md @@ -1,7 +1,7 @@ --- description: Describes rules for using single and double quotation marks in PowerShell. Locale: en-US -ms.date: 05/03/2022 +ms.date: 09/25/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_quoting_rules?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Quoting Rules @@ -19,7 +19,7 @@ in single quotation marks (`'`) or double quotation marks (`"`). Quotation marks are also used to create a _here-string_. A here-string is a single-quoted or double-quoted string in which quotation marks are interpreted literally. A here-string can span multiple lines. All the lines in a -here-string are interpreted as strings, even though they are not enclosed in +here-string are interpreted as strings, even though they're not enclosed in quotation marks. In commands to remote computers, quotation marks define the parts of the @@ -59,7 +59,7 @@ The output of this command is: The value of 5 is 5. ``` -Only simple variable references can be directly embedded in an expandable +Only basic variable references can be directly embedded in an expandable string. Variables references using array indexing or member access must be enclosed in a subexpression. For example: @@ -113,7 +113,7 @@ The output of this command is: The value $i is $i. ``` -Similarly, expressions in single-quoted strings are not evaluated. They are +Similarly, expressions in single-quoted strings aren't evaluated. They're interpreted as string literals. For example: ```powershell @@ -213,19 +213,19 @@ A here-string: string Like regular strings, variables are replaced by their values in double-quoted -here-strings. In single-quoted here-strings, variables are not replaced by -their values. +here-strings. In single-quoted here-strings, variables aren't replaced by their +values. -You can use here-strings for any text, but they are particularly useful for -the following kinds of text: +You can use here-strings for any text, but they're particularly useful for the +following kinds of text: - Text that contains literal quotation marks - Multiple lines of text, such as the text in an HTML or XML block - The Help text for a script or function document A here-string can have either of the following formats, where `` -represents the linefeed or newline hidden character that is added when you -press the ENTER key. +represents the linefeed or newline hidden character that's added when you press +the ENTER key. Double-quotes: @@ -244,7 +244,7 @@ Single-quotes: ``` > [!NOTE] -> The final newline character is part of the closing mark. It is not added to +> The final newline character is part of the closing mark. It's not added to > the here-string. A here-string contains all the text between the opening and closing marks. In @@ -266,14 +266,14 @@ Using a here-string can simplify using a string in a command. For example: ```powershell @" -Use a quotation mark (') to begin a string. +Use a quotation mark, like ' or ", to begin a string. "@ ``` The output of this command is: ```Output -Use a quotation mark (') to begin a string. +Use a quotation mark, like ' or ", to begin a string. ``` In single-quoted here-strings, variables are interpreted literally and @@ -356,7 +356,7 @@ can be specified by setting preference variable `$OFS`. For more information, see the [`$OFS` preference variable](about_preference_variables.md#ofs). Instances of any other type are converted to strings by calling the -`ToString()` method which may not give a meaningful representation. For +`ToString()` method, which may not give a meaningful representation. For example: ```powershell diff --git a/reference/docfx.json b/reference/docfx.json index f5177f11ca4a..81fe5bacd754 100644 --- a/reference/docfx.json +++ b/reference/docfx.json @@ -8,7 +8,7 @@ }, { "dest": "scripting", "files": [ "bread/toc.yml" ] }, - { "dest": "scripting", "files": [ "**/*.md", "**/**.yml" ], "group": "conceptual", "src": "docs-conceptual" }, + { "dest": "scripting", "files": [ "**/*.md", "**/*.yml" ], "group": "conceptual", "src": "docs-conceptual" }, { "dest": "module/psdocs", "files": [ "toc.yml" ], "group": "powershell-5.1", "src": "5.1" }, { "dest": "module", "exclude": [ "docs-conceptual/**" ], "files": [ "**/*.yml", "**/About/*.md" ], "group": "powershell-5.1", "src": "5.1" }, @@ -29,114 +29,141 @@ "externalReference": [], "fileMetadata": { "author": { - "**/**.md": "sdwheeler", - "**/**.yml": "sdwheeler", - "docs-conceptual/developer/**/**.md": "SteveL-MSFT", - "docs-conceptual/dsc/**/**.md": "mgreenegit", - "docs-conceptual/gallery/**/**.md": "SydneyhSmith", - "docs-conceptual/learn/ps101/**.md": "mikefrobbins", - "docs-conceptual/learn/remoting/jea/**.md": "rpsqrd" + "**/*.md": "sdwheeler", + "**/*.yml": "sdwheeler", + "docs-conceptual/developer/**/*.md": "SteveL-MSFT", + "docs-conceptual/dsc/**/*.md": "mgreenegit", + "docs-conceptual/gallery/**/*.md": "SydneyhSmith", + "docs-conceptual/learn/ps101/*.md": "mikefrobbins", + "docs-conceptual/learn/remoting/jea/*.md": "rpsqrd" }, "feedback_product_url": { - "docs-conceptual/dsc/**/**.md": "https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332", - "docs-conceptual/gallery/**/**.md": "https://github.com/powershell/powershellgallery/issues/new", - "docs-conceptual/learn/remoting/jea/**.md": "https://github.com/powershell/jea/issues/new", - "docs-conceptual/windows-powershell/**.md": "https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332" + "docs-conceptual/dsc/**/*.md": "https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332", + "docs-conceptual/gallery/**/*.md": "https://github.com/powershell/powershellgallery/issues/new", + "docs-conceptual/learn/remoting/jea/*.md": "https://github.com/powershell/jea/issues/new", + "docs-conceptual/windows-powershell/*.md": "https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332" + }, + "feedback_system": { + "**/*": "OpenSource" + }, + "open_source_feedback_contributorGuideUrl": { + "**/*": "https://learn.microsoft.com/powershell/scripting/community/contributing/powershell-style-guide" + }, + "open_source_feedback_issueTitle": { + "**/*": "Customer feedback - " + }, + "open_source_feedback_issueLabels": { + "**/*": "needs-triage" + }, + "open_source_feedback_issueUrl": { + "**/*": "https://github.com/MicrosoftDocs/PowerShell-Docs/issues/new?template=04-customer-feedback.yml" + }, + "open_source_feedback_productDescription": { + "**/*": "A cross-platform task automation solution made up of a command-line shell and a scripting language." + }, + "open_source_feedback_productLogoLightUrl": { + "**/*": "https://learn.microsoft.com/media/logos/logo-powershell-core.svg" + }, + "open_source_feedback_productLogoDarkUrl": { + "**/*": "https://learn.microsoft.com/media/logos/logo-powershell-core.svg" + }, + "open_source_feedback_productName": { + "**/*": "PowerShell" }, "manager": { - "**/**": "jasongroce" + "**/*": "jasongroce" }, "ms.author": { - "**/**.md": "sewhee", - "**/**.yml": "sewhee", - "docs-conceptual/developer/**/**.md": "slee", - "docs-conceptual/dsc/**/**.md": "migreene", - "docs-conceptual/gallery/**/**.md": "sysmith", - "docs-conceptual/learn/ps101/**.md": "mirobb", - "docs-conceptual/learn/remoting/jea/**.md": "ryanpu" + "**/*.md": "sewhee", + "**/*.yml": "sewhee", + "docs-conceptual/developer/**/*.md": "slee", + "docs-conceptual/dsc/**/*.md": "migreene", + "docs-conceptual/gallery/**/*.md": "sysmith", + "docs-conceptual/learn/ps101/*.md": "mirobb", + "docs-conceptual/learn/remoting/jea/*.md": "ryanpu" }, "ms.prod": { - "**/**.md": "powershell", - "**/**.yml": "powershell" + "**/*.md": "powershell", + "**/*.yml": "powershell" }, "ms.technology": { - "5.1/**.md": "powershell-conceptual", - "5.1/**.yml": "powershell-cmdlets", - "7.2/**.md": "powershell-conceptual", - "7.2/**.yml": "powershell-cmdlets", - "7.3/**.md": "powershell-conceptual", - "7.3/**.yml": "powershell-cmdlets", - "7.4/**.md": "powershell-conceptual", - "7.4/**.yml": "powershell-cmdlets", - "docs-conceptual/**/**.md": "powershell-conceptual" + "5.1/*.md": "powershell-conceptual", + "5.1/*.yml": "powershell-cmdlets", + "7.2/*.md": "powershell-conceptual", + "7.2/*.yml": "powershell-cmdlets", + "7.3/*.md": "powershell-conceptual", + "7.3/*.yml": "powershell-cmdlets", + "7.4/*.md": "powershell-conceptual", + "7.4/*.yml": "powershell-cmdlets", + "docs-conceptual/**/*.md": "powershell-conceptual" }, "ms.tgt_pltfr": { "**/**": "windows, macos, linux" }, "ms.topic": { - "5.1/**.md": "managed-reference", - "5.1/**.yml": "managed-reference", - "7.2/**.md": "managed-reference", - "7.2/**.yml": "managed-reference", - "7.3/**.md": "managed-reference", - "7.3/**.yml": "managed-reference", - "7.4/**.md": "managed-reference", - "7.4/**.yml": "managed-reference", - "docs-conceptual/**/**.md": "conceptual", - "docs-conceptual/dev-cross-plat/**/**.md": "reference", - "docs-conceptual/developer/**/**.md": "reference", - "docs-conceptual/lang-spec/**/**.md": "reference", - "docs-conceptual/learn/**.md": "tutorial", - "docs-conceptual/learn/deep-dives/**.md": "tutorial", - "docs-conceptual/learn/ps101/**.md": "conceptual", - "docs-conceptual/learn/remoting/**.md": "tutorial", - "docs-conceptual/samples/**/**.md": "sample" + "5.1/*.md": "managed-reference", + "5.1/*.yml": "managed-reference", + "7.2/*.md": "managed-reference", + "7.2/*.yml": "managed-reference", + "7.3/*.md": "managed-reference", + "7.3/*.yml": "managed-reference", + "7.4/*.md": "managed-reference", + "7.4/*.yml": "managed-reference", + "docs-conceptual/**/*.md": "conceptual", + "docs-conceptual/dev-cross-plat/**/*.md": "reference", + "docs-conceptual/developer/**/*.md": "reference", + "docs-conceptual/lang-spec/**/*.md": "reference", + "docs-conceptual/learn/*.md": "tutorial", + "docs-conceptual/learn/deep-dives/*.md": "tutorial", + "docs-conceptual/learn/ps101/*.md": "conceptual", + "docs-conceptual/learn/remoting/*.md": "tutorial", + "docs-conceptual/samples/**/*.md": "sample" }, "products": { - "5.1/**.md": [ + "5.1/*.md": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/56936876-97d9-45cc-ad1b-9d63320447c8", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "5.1/**.yml": [ + "5.1/*.yml": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/56936876-97d9-45cc-ad1b-9d63320447c8", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "7.2/**.md": [ + "7.2/*.md": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "7.2/**.yml": [ + "7.2/*.yml": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "7.3/**.md": [ + "7.3/*.md": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "7.3/**.yml": [ + "7.3/*.yml": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "7.4/**.md": [ + "7.4/*.md": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "7.4/**.yml": [ + "7.4/*.yml": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "docs-conceptual/**/**.md": [ + "docs-conceptual/**/*.md": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "docs-conceptual/windows-powershell/**/**.md": [ + "docs-conceptual/windows-powershell/**/*.md": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/56936876-97d9-45cc-ad1b-9d63320447c8", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ] }, "social_image_url": { - "**/**.md": "https://learn.microsoft.com/media/logos/logo-powershell-social.png", - "**/**.yml": "https://learn.microsoft.com/media/logos/logo-powershell-social.png" + "**/*.md": "https://learn.microsoft.com/media/logos/logo-powershell-social.png", + "**/*.yml": "https://learn.microsoft.com/media/logos/logo-powershell-social.png" } }, "globalMetadata": { diff --git a/reference/docs-conceptual/install/community-support.md b/reference/docs-conceptual/install/community-support.md index 1cbd67955906..5ec7ad55c8e0 100644 --- a/reference/docs-conceptual/install/community-support.md +++ b/reference/docs-conceptual/install/community-support.md @@ -96,7 +96,7 @@ processor type. sudo apt-get update # Install dependencies -sudo apt-get install libssl1.1 libunwind8 -y +sudo apt-get install jq libssl1.1 libunwind8 -y ################################### # Download and extract PowerShell