# Add-OfficeWordBreak

Adds a break to a Word paragraph. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice Cmdlet Reference.

Cmdlet 

Aliases: WordBreak

**Module**

`PSWriteOffice`

**Aliases**

`WordBreak`

**Inputs**

`OfficeIMO.Word.WordParagraph`

**Outputs**

`OfficeIMO.Word.WordParagraph`

**Source**

[AddOfficeWordBreakCommand.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Word/AddOfficeWordBreakCommand.cs#L18) 

Adds a break to a Word paragraph.

## Syntax

```
Add-OfficeWordBreak
[-BreakType <Page|Column|TextWrapping>]
[-Count <Int32>]
[-Paragraph <WordParagraph>]
[-PassThru]
[<CommonParameters>]
```

[#](#method-add-officewordbreak-wordbreaktype-int32-wordparagraph-switchparameter)

Parameter set: `Default`

## Description

By default this creates a soft line break, equivalent to Shift+Enter in Word.

## Guides & Samples

Authored walkthroughs and practical samples linked to this command.

- [Format Text and Paragraphs in Word](/docs/word/paragraphs/) Guide
  
  Add paragraphs and headings to DOCX files and set fonts, bold, colors, alignment, spacing, indentation, hyperlinks and page breaks with OfficeIMO.Word.

## Examples

### Add a same-paragraph line break.

```powershell
Add-OfficeWordParagraph { Add-OfficeWordText 'Line 1'; Add-OfficeWordBreak; Add-OfficeWordText 'Line 2' }
```

Writes both lines in the same paragraph separated by a soft break.

## Parameters

**-BreakType WordBreakType optional**

Optional break type, for example Page or Column.

Possible values: `Page`, `Column`, `TextWrapping`

**-Count Int32 optional**

Number of breaks to add.

**-Paragraph WordParagraph optionalpipeline: True (ByValue)**

Target paragraph. When omitted, the current DSL paragraph is used or created.

**-PassThru SwitchParameter optional**

Emit the paragraph returned by the final break for additional native OfficeIMO chaining.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:601DCEA8BA41C4B2A1E028E879FF2976D408572D912019CC8FE6C9BFC15E7208 -->
