Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficeOneNoteNotebookOptions

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.OneNote.OneNoteNotebookReaderOptions

Creates native OneNoteNotebookReaderOptions settings for document operations.

Syntax

New-OfficeOneNoteNotebookOptions
[-IncludeRecycleBin]
[-MaxNotebookEntries <Int32>]
[-MaxSectionGroupDepth <Int32>]
[-NoSectionContent]
[-NoSectionGroupRecursion]
[-StopOnSectionError]
[<CommonParameters>]
#
Parameter set: Default

Examples

Create default settings.

$options = New-OfficeOneNoteNotebookOptions

Parameters

-IncludeRecycleBin SwitchParameter optional
IncludeRecycleBin override; omission preserves the native default.
-MaxNotebookEntries Int32 optional
MaxNotebookEntries override; omission preserves the native default.
-MaxSectionGroupDepth Int32 optional
MaxSectionGroupDepth override; omission preserves the native default.
-NoSectionContent SwitchParameter optional
NoSectionContent override; omission preserves the native default.
-NoSectionGroupRecursion SwitchParameter optional
NoSectionGroupRecursion override; omission preserves the native default.
-StopOnSectionError SwitchParameter optional
StopOnSectionError override; omission preserves the native default.

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.