Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions reference/3.0/Microsoft.PowerShell.Management/Add-Content.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
ms.date: 1/28/2019
ms.date: 04/23/2019
schema: 2.0.0
locale: en-us
keywords: powershell,cmdlet
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
Expand Down Expand Up @@ -157,18 +156,15 @@ 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:

- **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.
Expand All @@ -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)
Expand 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
```
Expand Down
28 changes: 13 additions & 15 deletions reference/3.0/Microsoft.PowerShell.Utility/Export-Clixml.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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.

Expand Down
28 changes: 12 additions & 16 deletions reference/3.0/Microsoft.PowerShell.Utility/Export-Csv.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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
```
Expand Down
14 changes: 7 additions & 7 deletions reference/4.0/Microsoft.PowerShell.Management/Add-Content.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
ms.date: 1/28/2019
ms.date: 04/23/2019
schema: 2.0.0
locale: en-us
keywords: powershell,cmdlet
Expand Down Expand Up @@ -196,18 +196,15 @@ 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:

- **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.
Expand All @@ -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)
Expand 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
```
Expand Down
28 changes: 13 additions & 15 deletions reference/4.0/Microsoft.PowerShell.Utility/Export-Clixml.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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.

Expand Down
28 changes: 12 additions & 16 deletions reference/4.0/Microsoft.PowerShell.Utility/Export-Csv.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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
```
Expand Down
14 changes: 7 additions & 7 deletions reference/5.0/Microsoft.PowerShell.Management/Add-Content.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
ms.date: 1/28/2019
ms.date: 04/23/2019
schema: 2.0.0
locale: en-us
keywords: powershell,cmdlet
Expand Down Expand Up @@ -196,18 +196,15 @@ 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:

- **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.
Expand All @@ -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)
Expand 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
```
Expand Down
Loading