diff --git a/reference/3.0/Microsoft.PowerShell.Management/Add-Content.md b/reference/3.0/Microsoft.PowerShell.Management/Add-Content.md index fac3101ebb46..1cd4ec29bdb2 100644 --- a/reference/3.0/Microsoft.PowerShell.Management/Add-Content.md +++ b/reference/3.0/Microsoft.PowerShell.Management/Add-Content.md @@ -1,5 +1,5 @@ --- -ms.date: 1/28/2019 +ms.date: 04/23/2019 schema: 2.0.0 locale: en-us keywords: powershell,cmdlet @@ -7,7 +7,6 @@ online version: http://go.microsoft.com/fwlink/?LinkID=113278 external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml title: Add-Content --- - # Add-Content ## SYNOPSIS @@ -157,10 +156,7 @@ set to `False`. ### -Encoding -Specifies the type of encoding for the target file. The default value is **ASCII**. - -Encoding is a dynamic parameter that the FileSystem provider adds to the `Add-Content` cmdlet. This -parameter works only in file system drives. +Specifies the type of encoding for the target file. The default value is **Default**. The acceptable values for this parameter are as follows: @@ -168,7 +164,7 @@ The acceptable values for this parameter are as follows: - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. - **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. - **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. - **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. @@ -177,6 +173,9 @@ The acceptable values for this parameter are as follows: - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. +Encoding is a dynamic parameter that the FileSystem provider adds to the `Add-Content` cmdlet. This +parameter works only in file system drives. + ```yaml Type: FileSystemCmdletProviderEncoding Parameter Sets: (All) @@ -185,7 +184,7 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Default Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/3.0/Microsoft.PowerShell.Utility/Export-Clixml.md b/reference/3.0/Microsoft.PowerShell.Utility/Export-Clixml.md index 39b516b63ce4..25ba47f49dde 100644 --- a/reference/3.0/Microsoft.PowerShell.Utility/Export-Clixml.md +++ b/reference/3.0/Microsoft.PowerShell.Utility/Export-Clixml.md @@ -1,13 +1,13 @@ --- -ms.date: 1/22/2019 -schema: 2.0.0 -locale: en-us -keywords: powershell,cmdlet -online version: http://go.microsoft.com/fwlink/?LinkID=113297 -external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml -title: Export-Clixml +external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml +keywords: powershell,cmdlet +locale: en-us +Module Name: Microsoft.PowerShell.Utility +ms.date: 04/23/2019 +online version: http://go.microsoft.com/fwlink/?LinkID=113297 +schema: 2.0.0 +title: Export-Clixml --- - # Export-Clixml ## SYNOPSIS @@ -122,19 +122,15 @@ Accept wildcard characters: False ### -Encoding -Specifies the type of encoding for the target file. The default value is **ASCII**. +Specifies the type of encoding for the target file. The default value is **Unicode**. The acceptable values for this parameter are as follows: - **ASCII** Uses ASCII (7-bit) character set. - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. -- **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. -- **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. -- **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. -- **Unknown** Same as **Unicode**. - **UTF7** Uses UTF-7. - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. @@ -147,13 +143,15 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Unicode Accept pipeline input: False Accept wildcard characters: False ``` ### -Force +Forces the command to run without asking for user confirmation. + Causes the cmdlet to clear the read-only attribute of the output file if necessary. The cmdlet will attempt to reset the read-only attribute when the command completes. diff --git a/reference/3.0/Microsoft.PowerShell.Utility/Export-Csv.md b/reference/3.0/Microsoft.PowerShell.Utility/Export-Csv.md index 986d49de74a0..32ed973ef18c 100644 --- a/reference/3.0/Microsoft.PowerShell.Utility/Export-Csv.md +++ b/reference/3.0/Microsoft.PowerShell.Utility/Export-Csv.md @@ -1,13 +1,13 @@ --- -ms.date: 1/7/2019 -schema: 2.0.0 -locale: en-us -keywords: powershell,cmdlet -online version: http://go.microsoft.com/fwlink/?LinkID=113299 -external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml -title: Export-Csv +external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml +keywords: powershell,cmdlet +locale: en-us +Module Name: Microsoft.PowerShell.Utility +ms.date: 04/23/2019 +online version: http://go.microsoft.com/fwlink/?LinkID=113299 +schema: 2.0.0 +title: Export-Csv --- - # Export-Csv ## SYNOPSIS @@ -309,7 +309,7 @@ $AdditionalContent | Export-Csv -Path .\ParmFile.csv -NoTypeInformation -Append ``` ```Output -Export-Csv : Cannot append CSV content to the following file: ParmFile.csv. +Export-Csv : Cannot append CSV content to the following file: ParmFile.csv. The appended object does not have a property that corresponds to the following column: Version. To continue with mismatched properties, add the -Force parameter, and then retry the command. @@ -388,19 +388,15 @@ Accept wildcard characters: False ### -Encoding -Specifies the encoding for the exported CSV file. The default value is **ASCII**. +Specifies the type of encoding for the target file. The default value is **Default**. The acceptable values for this parameter are as follows: - **ASCII** Uses ASCII (7-bit) character set. - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. -- **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. -- **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. -- **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. -- **Unknown** Same as **Unicode**. - **UTF7** Uses UTF-7. - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. @@ -413,7 +409,7 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Default Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/4.0/Microsoft.PowerShell.Management/Add-Content.md b/reference/4.0/Microsoft.PowerShell.Management/Add-Content.md index 922e8e6a837a..8a6b0e6eb17c 100644 --- a/reference/4.0/Microsoft.PowerShell.Management/Add-Content.md +++ b/reference/4.0/Microsoft.PowerShell.Management/Add-Content.md @@ -1,5 +1,5 @@ --- -ms.date: 1/28/2019 +ms.date: 04/23/2019 schema: 2.0.0 locale: en-us keywords: powershell,cmdlet @@ -196,10 +196,7 @@ Accept wildcard characters: False ### -Encoding -Specifies the type of encoding for the target file. The default value is **ASCII**. - -Encoding is a dynamic parameter that the FileSystem provider adds to the `Add-Content` cmdlet. This -parameter works only in file system drives. +Specifies the type of encoding for the target file. The default value is **Default**. The acceptable values for this parameter are as follows: @@ -207,7 +204,7 @@ The acceptable values for this parameter are as follows: - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. - **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. - **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. - **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. @@ -216,6 +213,9 @@ The acceptable values for this parameter are as follows: - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. +Encoding is a dynamic parameter that the FileSystem provider adds to the `Add-Content` cmdlet. This +parameter works only in file system drives. + ```yaml Type: FileSystemCmdletProviderEncoding Parameter Sets: (All) @@ -224,7 +224,7 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Default Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/4.0/Microsoft.PowerShell.Utility/Export-Clixml.md b/reference/4.0/Microsoft.PowerShell.Utility/Export-Clixml.md index 71541a7e2688..224ae5f60ecf 100644 --- a/reference/4.0/Microsoft.PowerShell.Utility/Export-Clixml.md +++ b/reference/4.0/Microsoft.PowerShell.Utility/Export-Clixml.md @@ -1,13 +1,13 @@ --- -ms.date: 1/22/2019 -schema: 2.0.0 -locale: en-us -keywords: powershell,cmdlet -online version: http://go.microsoft.com/fwlink/p/?linkid=293956 -external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml -title: Export-Clixml +external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml +keywords: powershell,cmdlet +locale: en-us +Module Name: Microsoft.PowerShell.Utility +ms.date: 04/23/2019 +online version: http://go.microsoft.com/fwlink/p/?linkid=293956 +schema: 2.0.0 +title: Export-Clixml --- - # Export-Clixml ## SYNOPSIS @@ -122,19 +122,15 @@ Accept wildcard characters: False ### -Encoding -Specifies the type of encoding for the target file. The default value is **ASCII**. +Specifies the type of encoding for the target file. The default value is **Unicode**. The acceptable values for this parameter are as follows: - **ASCII** Uses ASCII (7-bit) character set. - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. -- **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. -- **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. -- **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. -- **Unknown** Same as **Unicode**. - **UTF7** Uses UTF-7. - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. @@ -147,13 +143,15 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Unicode Accept pipeline input: False Accept wildcard characters: False ``` ### -Force +Forces the command to run without asking for user confirmation. + Causes the cmdlet to clear the read-only attribute of the output file if necessary. The cmdlet will attempt to reset the read-only attribute when the command completes. diff --git a/reference/4.0/Microsoft.PowerShell.Utility/Export-Csv.md b/reference/4.0/Microsoft.PowerShell.Utility/Export-Csv.md index 0ba60e8bd350..848b5eafae43 100644 --- a/reference/4.0/Microsoft.PowerShell.Utility/Export-Csv.md +++ b/reference/4.0/Microsoft.PowerShell.Utility/Export-Csv.md @@ -1,13 +1,13 @@ --- -ms.date: 1/7/2019 -schema: 2.0.0 -locale: en-us -keywords: powershell,cmdlet -online version: http://go.microsoft.com/fwlink/p/?linkid=293957 -external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml -title: Export-Csv +external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml +keywords: powershell,cmdlet +locale: en-us +Module Name: Microsoft.PowerShell.Utility +ms.date: 04/23/2019 +online version: http://go.microsoft.com/fwlink/p/?linkid=293957 +schema: 2.0.0 +title: Export-Csv --- - # Export-Csv ## SYNOPSIS @@ -309,7 +309,7 @@ $AdditionalContent | Export-Csv -Path .\ParmFile.csv -NoTypeInformation -Append ``` ```Output -Export-Csv : Cannot append CSV content to the following file: ParmFile.csv. +Export-Csv : Cannot append CSV content to the following file: ParmFile.csv. The appended object does not have a property that corresponds to the following column: Version. To continue with mismatched properties, add the -Force parameter, and then retry the command. @@ -388,19 +388,15 @@ Accept wildcard characters: False ### -Encoding -Specifies the encoding for the exported CSV file. The default value is **ASCII**. +Specifies the type of encoding for the target file. The default value is **Default**. The acceptable values for this parameter are as follows: - **ASCII** Uses ASCII (7-bit) character set. - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. -- **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. -- **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. -- **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. -- **Unknown** Same as **Unicode**. - **UTF7** Uses UTF-7. - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. @@ -413,7 +409,7 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Default Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/5.0/Microsoft.PowerShell.Management/Add-Content.md b/reference/5.0/Microsoft.PowerShell.Management/Add-Content.md index 64060fcf61e5..2b1620f093c0 100644 --- a/reference/5.0/Microsoft.PowerShell.Management/Add-Content.md +++ b/reference/5.0/Microsoft.PowerShell.Management/Add-Content.md @@ -1,5 +1,5 @@ --- -ms.date: 1/28/2019 +ms.date: 04/23/2019 schema: 2.0.0 locale: en-us keywords: powershell,cmdlet @@ -196,10 +196,7 @@ Accept wildcard characters: False ### -Encoding -Specifies the type of encoding for the target file. The default value is **ASCII**. - -Encoding is a dynamic parameter that the FileSystem provider adds to the `Add-Content` cmdlet. This -parameter works only in file system drives. +Specifies the type of encoding for the target file. The default value is **Default**. The acceptable values for this parameter are as follows: @@ -207,7 +204,7 @@ The acceptable values for this parameter are as follows: - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. - **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. - **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. - **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. @@ -216,6 +213,9 @@ The acceptable values for this parameter are as follows: - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. +Encoding is a dynamic parameter that the FileSystem provider adds to the `Add-Content` cmdlet. This +parameter works only in file system drives. + ```yaml Type: FileSystemCmdletProviderEncoding Parameter Sets: (All) @@ -224,7 +224,7 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Default Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/5.0/Microsoft.PowerShell.Utility/Export-Clixml.md b/reference/5.0/Microsoft.PowerShell.Utility/Export-Clixml.md index e1ef3516995e..a2170b1e8dd5 100644 --- a/reference/5.0/Microsoft.PowerShell.Utility/Export-Clixml.md +++ b/reference/5.0/Microsoft.PowerShell.Utility/Export-Clixml.md @@ -1,11 +1,12 @@ --- -ms.date: 1/22/2019 -schema: 2.0.0 -locale: en-us -keywords: powershell,cmdlet -online version: http://go.microsoft.com/fwlink/?LinkId=821767 -external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml -title: Export-Clixml +external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml +keywords: powershell,cmdlet +locale: en-us +Module Name: Microsoft.PowerShell.Utility +ms.date: 04/23/2019 +online version: http://go.microsoft.com/fwlink/?LinkId=821767 +schema: 2.0.0 +title: Export-Clixml --- # Export-Clixml @@ -137,19 +138,15 @@ Accept wildcard characters: False ### -Encoding -Specifies the type of encoding for the target file. The default value is **ASCII**. +Specifies the type of encoding for the target file. The default value is **Unicode**. The acceptable values for this parameter are as follows: - **ASCII** Uses ASCII (7-bit) character set. - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. -- **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. -- **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. -- **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. -- **Unknown** Same as **Unicode**. - **UTF7** Uses UTF-7. - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. @@ -162,13 +159,15 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Unicode Accept pipeline input: False Accept wildcard characters: False ``` ### -Force +Forces the command to run without asking for user confirmation. + Causes the cmdlet to clear the read-only attribute of the output file if necessary. The cmdlet will attempt to reset the read-only attribute when the command completes. @@ -206,8 +205,8 @@ Accept wildcard characters: False Specifies the path to the file where the XML representation of the object will be stored. Unlike **Path**, the value of the **LiteralPath** parameter is used exactly as it is typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single -quotation marks. Single quotation marks tell Windows PowerShell not to interpret any characters as -escape sequences. +quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape +sequences. ```yaml Type: String diff --git a/reference/5.0/Microsoft.PowerShell.Utility/Export-Csv.md b/reference/5.0/Microsoft.PowerShell.Utility/Export-Csv.md index 26a4646eff37..0f777bd93a9f 100644 --- a/reference/5.0/Microsoft.PowerShell.Utility/Export-Csv.md +++ b/reference/5.0/Microsoft.PowerShell.Utility/Export-Csv.md @@ -1,11 +1,12 @@ --- -ms.date: 1/7/2019 -schema: 2.0.0 -locale: en-us -keywords: powershell,cmdlet -online version: http://go.microsoft.com/fwlink/?LinkId=821769 -external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml -title: Export-Csv +external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml +keywords: powershell,cmdlet +locale: en-us +Module Name: Microsoft.PowerShell.Utility +ms.date: 04/23/2019 +online version: http://go.microsoft.com/fwlink/?LinkId=821769 +schema: 2.0.0 +title: Export-Csv --- # Export-Csv @@ -308,7 +309,7 @@ $AdditionalContent | Export-Csv -Path .\ParmFile.csv -NoTypeInformation -Append ``` ```Output -Export-Csv : Cannot append CSV content to the following file: ParmFile.csv. +Export-Csv : Cannot append CSV content to the following file: ParmFile.csv. The appended object does not have a property that corresponds to the following column: Version. To continue with mismatched properties, add the -Force parameter, and then retry the command. @@ -387,19 +388,15 @@ Accept wildcard characters: False ### -Encoding -Specifies the encoding for the exported CSV file. The default value is **ASCII**. +Specifies the type of encoding for the target file. The default value is **Default**. The acceptable values for this parameter are as follows: - **ASCII** Uses ASCII (7-bit) character set. - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. -- **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. -- **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. -- **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. -- **Unknown** Same as **Unicode**. - **UTF7** Uses UTF-7. - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. @@ -412,7 +409,7 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Default Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/5.1/Microsoft.PowerShell.Management/Add-Content.md b/reference/5.1/Microsoft.PowerShell.Management/Add-Content.md index 759858763d0c..2b1620f093c0 100644 --- a/reference/5.1/Microsoft.PowerShell.Management/Add-Content.md +++ b/reference/5.1/Microsoft.PowerShell.Management/Add-Content.md @@ -1,5 +1,5 @@ --- -ms.date: 1/28/2019 +ms.date: 04/23/2019 schema: 2.0.0 locale: en-us keywords: powershell,cmdlet @@ -7,7 +7,6 @@ online version: http://go.microsoft.com/fwlink/?LinkId=821565 external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml title: Add-Content --- - # Add-Content ## SYNOPSIS @@ -197,10 +196,7 @@ Accept wildcard characters: False ### -Encoding -Specifies the type of encoding for the target file. The default value is **ASCII**. - -Encoding is a dynamic parameter that the FileSystem provider adds to the `Add-Content` cmdlet. This -parameter works only in file system drives. +Specifies the type of encoding for the target file. The default value is **Default**. The acceptable values for this parameter are as follows: @@ -208,7 +204,7 @@ The acceptable values for this parameter are as follows: - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. - **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. - **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. - **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. @@ -217,6 +213,9 @@ The acceptable values for this parameter are as follows: - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. +Encoding is a dynamic parameter that the FileSystem provider adds to the `Add-Content` cmdlet. This +parameter works only in file system drives. + ```yaml Type: FileSystemCmdletProviderEncoding Parameter Sets: (All) @@ -225,7 +224,7 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Default Accept pipeline input: False Accept wildcard characters: False ``` @@ -244,7 +243,7 @@ Required: False Position: Named Default value: None Accept pipeline input: False -Accept wildcard characters: False +Accept wildcard characters: True ``` ### -Filter @@ -264,7 +263,7 @@ Required: False Position: Named Default value: None Accept pipeline input: False -Accept wildcard characters: False +Accept wildcard characters: True ``` ### -Force @@ -299,7 +298,7 @@ Required: False Position: Named Default value: None Accept pipeline input: False -Accept wildcard characters: False +Accept wildcard characters: True ``` ### -LiteralPath @@ -371,7 +370,7 @@ Required: True Position: 0 Default value: None Accept pipeline input: True (ByPropertyName) -Accept wildcard characters: False +Accept wildcard characters: True ``` ### -Stream diff --git a/reference/5.1/Microsoft.PowerShell.Utility/Export-Clixml.md b/reference/5.1/Microsoft.PowerShell.Utility/Export-Clixml.md index 63d292d2c2a5..2ce2efd6251c 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/Export-Clixml.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/Export-Clixml.md @@ -3,12 +3,11 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml keywords: powershell,cmdlet locale: en-us Module Name: Microsoft.PowerShell.Utility -ms.date: 1/22/2019 +ms.date: 04/23/2019 online version: http://go.microsoft.com/fwlink/?LinkId=821767 schema: 2.0.0 title: Export-Clixml --- - # Export-Clixml ## SYNOPSIS @@ -123,19 +122,15 @@ Accept wildcard characters: False ### -Encoding -Specifies the type of encoding for the target file. The default value is **ASCII**. +Specifies the type of encoding for the target file. The default value is **Unicode**. The acceptable values for this parameter are as follows: - **ASCII** Uses ASCII (7-bit) character set. - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. -- **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. -- **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. -- **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. -- **Unknown** Same as **Unicode**. - **UTF7** Uses UTF-7. - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. @@ -148,7 +143,7 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Unicode Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/5.1/Microsoft.PowerShell.Utility/Export-Csv.md b/reference/5.1/Microsoft.PowerShell.Utility/Export-Csv.md index 74e3d55bc500..b380a2fbeeac 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/Export-Csv.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/Export-Csv.md @@ -3,12 +3,11 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml keywords: powershell,cmdlet locale: en-us Module Name: Microsoft.PowerShell.Utility -ms.date: 1/7/2019 +ms.date: 04/23/2019 online version: http://go.microsoft.com/fwlink/?LinkId=821769 schema: 2.0.0 title: Export-Csv --- - # Export-Csv ## SYNOPSIS @@ -310,7 +309,7 @@ $AdditionalContent | Export-Csv -Path .\ParmFile.csv -NoTypeInformation -Append ``` ```Output -Export-Csv : Cannot append CSV content to the following file: ParmFile.csv. +Export-Csv : Cannot append CSV content to the following file: ParmFile.csv. The appended object does not have a property that corresponds to the following column: Version. To continue with mismatched properties, add the -Force parameter, and then retry the command. @@ -389,19 +388,15 @@ Accept wildcard characters: False ### -Encoding -Specifies the encoding for the exported CSV file. The default value is **ASCII**. +Specifies the type of encoding for the target file. The default value is **Default**. The acceptable values for this parameter are as follows: - **ASCII** Uses ASCII (7-bit) character set. - **BigEndianUnicode** Uses UTF-16 with the big-endian byte order. -- **BigEndianUTF32** Uses UTF-32 with the big-endian byte order. -- **Byte** Encodes a set of characters into a sequence of bytes. -- **Default** Uses the encoding that corresponds to the system's active code page. +- **Default** Uses the encoding that corresponds to the system's active code page (usually ANSI). - **OEM** Uses the encoding that corresponds to the system's current OEM code page. -- **String** Same as **Unicode**. - **Unicode** Uses UTF-16 with the little-endian byte order. -- **Unknown** Same as **Unicode**. - **UTF7** Uses UTF-7. - **UTF8** Uses UTF-8. - **UTF32** Uses UTF-32 with the little-endian byte order. @@ -414,7 +409,7 @@ Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, St Required: False Position: Named -Default value: ASCII +Default value: Default Accept pipeline input: False Accept wildcard characters: False ```