From c066d2819fd6da69cab9a23c69643056e85cf885 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Tue, 31 Oct 2023 09:34:38 -0500 Subject: [PATCH] Remove copy/paste error in description --- .../Add-Content.md | 29 ++++++++-------- .../Add-Content.md | 33 +++++++++---------- .../Add-Content.md | 33 +++++++++---------- .../Add-Content.md | 33 +++++++++---------- 4 files changed, 62 insertions(+), 66 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Management/Add-Content.md b/reference/5.1/Microsoft.PowerShell.Management/Add-Content.md index 1458dba7a5e0..525bf0482099 100644 --- a/reference/5.1/Microsoft.PowerShell.Management/Add-Content.md +++ b/reference/5.1/Microsoft.PowerShell.Management/Add-Content.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 10/12/2023 +ms.date: 10/31/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/add-content?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: Add-Content @@ -36,8 +36,7 @@ Add-Content [-Value] -LiteralPath [-PassThru] [-Filter [!NOTE] -> This parameter is not supported by any providers installed with PowerShell. +> This parameter isn't supported by any providers installed with PowerShell. > To impersonate another user, or elevate your credentials when running this cmdlet, > use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md). @@ -241,7 +240,7 @@ installed PowerShell provider that supports the use of filters. You can find the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather -than having PowerShell filter the objects after they are retrieved. +than having PowerShell filter the objects after they're retrieved. ```yaml Type: System.String @@ -258,7 +257,7 @@ Accept wildcard characters: True ### -Force Overrides the read-only attribute, allowing you to add content to a read-only file. For example, -**Force** overrides the read-only attribute but it does not change file permissions. +**Force** overrides the read-only attribute but it doesn't change file permissions. ```yaml Type: System.Management.Automation.SwitchParameter @@ -294,7 +293,7 @@ Accept wildcard characters: True ### -LiteralPath -Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it is +Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it's typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. @@ -316,7 +315,7 @@ Accept wildcard characters: False ### -NoNewline -Indicates that this cmdlet does not add a new line or carriage return to the content. +Indicates that this cmdlet doesn't add a new line or carriage return to the content. The string representations of the input objects are concatenated to form the output. No spaces or newlines are inserted between the output strings. No newline is added after the last output string. @@ -335,7 +334,7 @@ Accept wildcard characters: False ### -PassThru -Returns an object representing the added content. By default, this cmdlet does not generate any +Returns an object representing the added content. By default, this cmdlet doesn't generate any output. ```yaml @@ -371,14 +370,14 @@ Accept wildcard characters: True ### -Stream -Specifies an alternative data stream for content. If the stream does not exist, this cmdlet creates -it. Wildcard characters are not supported. +Specifies an alternative data stream for content. If the stream doesn't exist, this cmdlet creates +it. Wildcard characters aren't supported. **Stream** is a dynamic parameter that the FileSystem provider adds to `Add-Content`. This parameter works only in file system drives. You can use the `Add-Content` cmdlet to change the content of any alternate data stream, such as -`Zone.Identifier`. However, we do not recommend this as a way to eliminate security checks that +`Zone.Identifier`. However, we don't recommend this as a way to eliminate security checks that block files that are downloaded from the Internet. If you verify that a downloaded file is safe, use the `Unblock-File` cmdlet. @@ -419,7 +418,7 @@ Specifies the content to be added. Type a quoted string, such as **This data is only**, or specify an object that contains content, such as the **DateTime** object that `Get-Date` generates. -You cannot specify the contents of a file by typing its path, because the path is just a string. +You can't specify the contents of a file by typing its path, because the path is just a string. You can use a `Get-Content` command to get the content and pass it to the **Value** parameter. ```yaml @@ -452,7 +451,7 @@ Accept wildcard characters: False ### -WhatIf -Shows what would happen if the cmdlet runs. The cmdlet is not run. +Shows what would happen if the cmdlet runs. The cmdlet isn't run. ```yaml Type: System.Management.Automation.SwitchParameter @@ -500,7 +499,7 @@ Windows PowerShell includes the following aliases for `Add-Content`: - `ac` -- When you pipe an object to `Add-Content`, the object is converted to a string before it is added +- When you pipe an object to `Add-Content`, the object is converted to a string before it's added to the item. The object type determines the string format, but the format might be different than the default display of the object. To control the string format, use the formatting parameters of the sending cmdlet. diff --git a/reference/7.2/Microsoft.PowerShell.Management/Add-Content.md b/reference/7.2/Microsoft.PowerShell.Management/Add-Content.md index 5721372009e6..ed6aabbb7df3 100644 --- a/reference/7.2/Microsoft.PowerShell.Management/Add-Content.md +++ b/reference/7.2/Microsoft.PowerShell.Management/Add-Content.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 10/12/2023 +ms.date: 10/31/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/add-content?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: Add-Content @@ -36,8 +36,7 @@ Add-Content [-Value] -LiteralPath [-PassThru] [-Filter [!NOTE] -> This parameter is not supported by any providers installed with PowerShell. +> This parameter isn't supported by any providers installed with PowerShell. > To impersonate another user, or elevate your credentials when running this cmdlet, > use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md). @@ -281,7 +280,7 @@ installed PowerShell provider that supports the use of filters. You can find the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather -than having PowerShell filter the objects after they are retrieved. +than having PowerShell filter the objects after they're retrieved. ```yaml Type: System.String @@ -298,7 +297,7 @@ Accept wildcard characters: True ### -Force Overrides the read-only attribute, allowing you to add content to a read-only file. For example, -**Force** overrides the read-only attribute but it does not change file permissions. +**Force** overrides the read-only attribute but it doesn't change file permissions. ```yaml Type: System.Management.Automation.SwitchParameter @@ -334,7 +333,7 @@ Accept wildcard characters: True ### -LiteralPath -Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it is +Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it's typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. @@ -356,7 +355,7 @@ Accept wildcard characters: False ### -NoNewline -Indicates that this cmdlet does not add a new line or carriage return to the content. +Indicates that this cmdlet doesn't add a new line or carriage return to the content. The string representations of the input objects are concatenated to form the output. No spaces or newlines are inserted between the output strings. No newline is added after the last output string. @@ -375,7 +374,7 @@ Accept wildcard characters: False ### -PassThru -Returns an object representing the added content. By default, this cmdlet does not generate any +Returns an object representing the added content. By default, this cmdlet doesn't generate any output. ```yaml @@ -414,14 +413,14 @@ Accept wildcard characters: True > [!NOTE] > This Parameter is only available on Windows. -Specifies an alternative data stream for content. If the stream does not exist, this cmdlet creates -it. Wildcard characters are not supported. +Specifies an alternative data stream for content. If the stream doesn't exist, this cmdlet creates +it. Wildcard characters aren't supported. **Stream** is a dynamic parameter that the FileSystem provider adds to `Add-Content`. This parameter works only in file system drives. You can use the `Add-Content` cmdlet to change the content of any alternate data stream, such as -`Zone.Identifier`. However, we do not recommend this as a way to eliminate security checks that +`Zone.Identifier`. However, we don't recommend this as a way to eliminate security checks that block files that are downloaded from the Internet. If you verify that a downloaded file is safe, use the `Unblock-File` cmdlet. @@ -447,7 +446,7 @@ Specifies the content to be added. Type a quoted string, such as **This data is only**, or specify an object that contains content, such as the **DateTime** object that `Get-Date` generates. -You cannot specify the contents of a file by typing its path, because the path is just a string. +You can't specify the contents of a file by typing its path, because the path is just a string. You can use a `Get-Content` command to get the content and pass it to the **Value** parameter. ```yaml @@ -480,7 +479,7 @@ Accept wildcard characters: False ### -WhatIf -Shows what would happen if the cmdlet runs. The cmdlet is not run. +Shows what would happen if the cmdlet runs. The cmdlet isn't run. ```yaml Type: System.Management.Automation.SwitchParameter @@ -529,7 +528,7 @@ PowerShell includes the following aliases for `Add-Content`: - Windows: - `ac` -- When you pipe an object to `Add-Content`, the object is converted to a string before it is added +- When you pipe an object to `Add-Content`, the object is converted to a string before it's added to the item. The object type determines the string format, but the format might be different than the default display of the object. To control the string format, use the formatting parameters of the sending cmdlet. diff --git a/reference/7.3/Microsoft.PowerShell.Management/Add-Content.md b/reference/7.3/Microsoft.PowerShell.Management/Add-Content.md index 038d426ec09a..2f6ed33bcd64 100644 --- a/reference/7.3/Microsoft.PowerShell.Management/Add-Content.md +++ b/reference/7.3/Microsoft.PowerShell.Management/Add-Content.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 10/12/2023 +ms.date: 10/31/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/add-content?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: Add-Content @@ -36,8 +36,7 @@ Add-Content [-Value] -LiteralPath [-PassThru] [-Filter [!NOTE] -> This parameter is not supported by any providers installed with PowerShell. +> This parameter isn't supported by any providers installed with PowerShell. > To impersonate another user, or elevate your credentials when running this cmdlet, > use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md). @@ -281,7 +280,7 @@ installed PowerShell provider that supports the use of filters. You can find the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather -than having PowerShell filter the objects after they are retrieved. +than having PowerShell filter the objects after they're retrieved. ```yaml Type: System.String @@ -298,7 +297,7 @@ Accept wildcard characters: True ### -Force Overrides the read-only attribute, allowing you to add content to a read-only file. For example, -**Force** overrides the read-only attribute but it does not change file permissions. +**Force** overrides the read-only attribute but it doesn't change file permissions. ```yaml Type: System.Management.Automation.SwitchParameter @@ -334,7 +333,7 @@ Accept wildcard characters: True ### -LiteralPath -Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it is +Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it's typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. @@ -356,7 +355,7 @@ Accept wildcard characters: False ### -NoNewline -Indicates that this cmdlet does not add a new line or carriage return to the content. +Indicates that this cmdlet doesn't add a new line or carriage return to the content. The string representations of the input objects are concatenated to form the output. No spaces or newlines are inserted between the output strings. No newline is added after the last output string. @@ -375,7 +374,7 @@ Accept wildcard characters: False ### -PassThru -Returns an object representing the added content. By default, this cmdlet does not generate any +Returns an object representing the added content. By default, this cmdlet doesn't generate any output. ```yaml @@ -414,14 +413,14 @@ Accept wildcard characters: True > [!NOTE] > This Parameter is only available on Windows. -Specifies an alternative data stream for content. If the stream does not exist, this cmdlet creates -it. Wildcard characters are not supported. +Specifies an alternative data stream for content. If the stream doesn't exist, this cmdlet creates +it. Wildcard characters aren't supported. **Stream** is a dynamic parameter that the FileSystem provider adds to `Add-Content`. This parameter works only in file system drives. You can use the `Add-Content` cmdlet to change the content of any alternate data stream, such as -`Zone.Identifier`. However, we do not recommend this as a way to eliminate security checks that +`Zone.Identifier`. However, we don't recommend this as a way to eliminate security checks that block files that are downloaded from the Internet. If you verify that a downloaded file is safe, use the `Unblock-File` cmdlet. @@ -447,7 +446,7 @@ Specifies the content to be added. Type a quoted string, such as **This data is only**, or specify an object that contains content, such as the **DateTime** object that `Get-Date` generates. -You cannot specify the contents of a file by typing its path, because the path is just a string. +You can't specify the contents of a file by typing its path, because the path is just a string. You can use a `Get-Content` command to get the content and pass it to the **Value** parameter. ```yaml @@ -480,7 +479,7 @@ Accept wildcard characters: False ### -WhatIf -Shows what would happen if the cmdlet runs. The cmdlet is not run. +Shows what would happen if the cmdlet runs. The cmdlet isn't run. ```yaml Type: System.Management.Automation.SwitchParameter @@ -529,7 +528,7 @@ PowerShell includes the following aliases for `Add-Content`: - Windows: - `ac` -- When you pipe an object to `Add-Content`, the object is converted to a string before it is added +- When you pipe an object to `Add-Content`, the object is converted to a string before it's added to the item. The object type determines the string format, but the format might be different than the default display of the object. To control the string format, use the formatting parameters of the sending cmdlet. diff --git a/reference/7.4/Microsoft.PowerShell.Management/Add-Content.md b/reference/7.4/Microsoft.PowerShell.Management/Add-Content.md index 4912c6130d65..0704020c3c27 100644 --- a/reference/7.4/Microsoft.PowerShell.Management/Add-Content.md +++ b/reference/7.4/Microsoft.PowerShell.Management/Add-Content.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 10/12/2023 +ms.date: 10/31/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/add-content?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: Add-Content @@ -36,8 +36,7 @@ Add-Content [-Value] -LiteralPath [-PassThru] [-Filter [!NOTE] -> This parameter is not supported by any providers installed with PowerShell. +> This parameter isn't supported by any providers installed with PowerShell. > To impersonate another user, or elevate your credentials when running this cmdlet, > use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md). @@ -286,7 +285,7 @@ installed PowerShell provider that supports the use of filters. You can find the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather -than having PowerShell filter the objects after they are retrieved. +than having PowerShell filter the objects after they're retrieved. ```yaml Type: System.String @@ -303,7 +302,7 @@ Accept wildcard characters: True ### -Force Overrides the read-only attribute, allowing you to add content to a read-only file. For example, -**Force** overrides the read-only attribute but it does not change file permissions. +**Force** overrides the read-only attribute but it doesn't change file permissions. ```yaml Type: System.Management.Automation.SwitchParameter @@ -339,7 +338,7 @@ Accept wildcard characters: True ### -LiteralPath -Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it is +Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it's typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. @@ -361,7 +360,7 @@ Accept wildcard characters: False ### -NoNewline -Indicates that this cmdlet does not add a new line or carriage return to the content. +Indicates that this cmdlet doesn't add a new line or carriage return to the content. The string representations of the input objects are concatenated to form the output. No spaces or newlines are inserted between the output strings. No newline is added after the last output string. @@ -380,7 +379,7 @@ Accept wildcard characters: False ### -PassThru -Returns an object representing the added content. By default, this cmdlet does not generate any +Returns an object representing the added content. By default, this cmdlet doesn't generate any output. ```yaml @@ -419,14 +418,14 @@ Accept wildcard characters: True > [!NOTE] > This Parameter is only available on Windows. -Specifies an alternative data stream for content. If the stream does not exist, this cmdlet creates -it. Wildcard characters are not supported. +Specifies an alternative data stream for content. If the stream doesn't exist, this cmdlet creates +it. Wildcard characters aren't supported. **Stream** is a dynamic parameter that the FileSystem provider adds to `Add-Content`. This parameter works only in file system drives. You can use the `Add-Content` cmdlet to change the content of any alternate data stream, such as -`Zone.Identifier`. However, we do not recommend this as a way to eliminate security checks that +`Zone.Identifier`. However, we don't recommend this as a way to eliminate security checks that block files that are downloaded from the Internet. If you verify that a downloaded file is safe, use the `Unblock-File` cmdlet. @@ -452,7 +451,7 @@ Specifies the content to be added. Type a quoted string, such as **This data is only**, or specify an object that contains content, such as the **DateTime** object that `Get-Date` generates. -You cannot specify the contents of a file by typing its path, because the path is just a string. +You can't specify the contents of a file by typing its path, because the path is just a string. You can use a `Get-Content` command to get the content and pass it to the **Value** parameter. ```yaml @@ -485,7 +484,7 @@ Accept wildcard characters: False ### -WhatIf -Shows what would happen if the cmdlet runs. The cmdlet is not run. +Shows what would happen if the cmdlet runs. The cmdlet isn't run. ```yaml Type: System.Management.Automation.SwitchParameter @@ -534,7 +533,7 @@ PowerShell includes the following aliases for `Add-Content`: - Windows: - `ac` -- When you pipe an object to `Add-Content`, the object is converted to a string before it is added +- When you pipe an object to `Add-Content`, the object is converted to a string before it's added to the item. The object type determines the string format, but the format might be different than the default display of the object. To control the string format, use the formatting parameters of the sending cmdlet.