Service | Microsoft Docs article | Related commit history on GitHub | Change details |
---|---|---|---|
Microsoft.PowerShell.Core | About Quoting Rules (5.1) | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md | --- description: Describes rules for using single and double quotation marks in PowerShell. Locale: en-US Previously updated : 12/09/2021 Last updated : 04/26/2022 online version: https://docs.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 The value of $i is 5. ## Single-quoted strings -A string enclosed in single-quotation marks is a _verbatim_ string. The string +A string enclosed in single quotation marks is a _verbatim_ string. The string is passed to the command exactly as you type it. No substitution is performed. For example: The value $i is $i. ``` Similarly, expressions in single-quoted strings are not evaluated. They are-interpreted as literals. For example: +interpreted as string literals. For example: ```powershell 'The value of $(2+3) is 5.' |
Microsoft.PowerShell.Core | About Quoting Rules (7.0) | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md | --- description: Describes rules for using single and double quotation marks in PowerShell. Locale: en-US Previously updated : 12/09/2021 Last updated : 04/26/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_quoting_rules?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about Quoting Rules The value of $i is 5. ## Single-quoted strings -A string enclosed in single-quotation marks is a _verbatim_ string. The string +A string enclosed in single quotation marks is a _verbatim_ string. The string is passed to the command exactly as you type it. No substitution is performed. For example: The value $i is $i. ``` Similarly, expressions in single-quoted strings are not evaluated. They are-interpreted as literals. For example: +interpreted as string literals. For example: ```powershell 'The value of $(2+3) is 5.' |
Microsoft.PowerShell.Core | About Quoting Rules (7.1) | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md | --- description: Describes rules for using single and double quotation marks in PowerShell. Locale: en-US Previously updated : 12/09/2021 Last updated : 04/26/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_quoting_rules?view=powershell-7.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about Quoting Rules The value of $i is 5. ## Single-quoted strings -A string enclosed in single-quotation marks is a _verbatim_ string. The string +A string enclosed in single quotation marks is a _verbatim_ string. The string is passed to the command exactly as you type it. No substitution is performed. For example: The value $i is $i. ``` Similarly, expressions in single-quoted strings are not evaluated. They are-interpreted as literals. For example: +interpreted as string literals. For example: ```powershell 'The value of $(2+3) is 5.' |
Microsoft.PowerShell.Core | About Quoting Rules (7.2) | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md | --- description: Describes rules for using single and double quotation marks in PowerShell. Locale: en-US Previously updated : 12/09/2021 Last updated : 04/26/2022 online version: https://docs.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 The value of $i is 5. ## Single-quoted strings -A string enclosed in single-quotation marks is a _verbatim_ string. The string +A string enclosed in single quotation marks is a _verbatim_ string. The string is passed to the command exactly as you type it. No substitution is performed. For example: The value $i is $i. ``` Similarly, expressions in single-quoted strings are not evaluated. They are-interpreted as literals. For example: +interpreted as string literals. For example: ```powershell 'The value of $(2+3) is 5.' |
Microsoft.PowerShell.Core | About Quoting Rules (7.3) | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.3/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md | --- description: Describes rules for using single and double quotation marks in PowerShell. Locale: en-US Previously updated : 12/09/2021 Last updated : 04/26/2022 online version: https://docs.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 The value of $i is 5. ## Single-quoted strings -A string enclosed in single-quotation marks is a _verbatim_ string. The string +A string enclosed in single quotation marks is a _verbatim_ string. The string is passed to the command exactly as you type it. No substitution is performed. For example: The value $i is $i. ``` Similarly, expressions in single-quoted strings are not evaluated. They are-interpreted as literals. For example: +interpreted as string literals. For example: ```powershell 'The value of $(2+3) is 5.' |
module | Index | https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/module/index.md | ms. ms.product: powershell quickFilterColumn1: powershell-7.1,windowsserver2019-ps-quickFilterColumn2: azps-7.4.0,win-mdop2-ps +quickFilterColumn2: azps-7.5.0,win-mdop2-ps quickFilterColumn3: sqlserver-ps,systemcenter-ps-2019 Title: PowerShell Module Browser --- |