| external help file | PSWriteOffice-help.xml |
|---|---|
| Module Name | PSWriteOffice |
| online version | https://github.com/EvotecIT/PSWriteOffice |
| schema | 2.0.0 |
Removes the table of contents from a Word document.
Remove-OfficeWordTableOfContent [-Document <WordDocument>] [-PassThru] [<CommonParameters>]Removes the table of contents from a Word document.
PS>Remove-OfficeWordTableOfContentDeletes the table of contents if one exists.
Document to modify when provided explicitly.
Type: WordDocument
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: TrueEmit the document after removal.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
OfficeIMO.Word.WordDocument
System.Object
- None