Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficeOneNoteReadOptions

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.OneNote.OneNoteLoadOptions

Creates native OneNoteLoadOptions settings for document operations.

Syntax

New-OfficeOneNoteReadOptions
[-MaxAssetBytes <Int64>]
[-MaxInputBytes <Int64>]
[-MaxObjects <Int32>]
[-MaxTotalAssetBytes <Int64>]
[-NoChecksumValidation]
[-NoStrictHeaderValidation]
[-NoUnknownData]
[<CommonParameters>]
#
Parameter set: Default

Examples

Create default settings.

$options = New-OfficeOneNoteReadOptions

Parameters

-MaxAssetBytes Int64 optional
MaxAssetBytes override; omission preserves the native default.
-MaxInputBytes Int64 optional
MaxInputBytes override; omission preserves the native default.
-MaxObjects Int32 optional
MaxObjects override; omission preserves the native default.
-MaxTotalAssetBytes Int64 optional
MaxTotalAssetBytes override; omission preserves the native default.
-NoChecksumValidation SwitchParameter optional
NoChecksumValidation override; omission preserves the native default.
-NoStrictHeaderValidation SwitchParameter optional
NoStrictHeaderValidation override; omission preserves the native default.
-NoUnknownData SwitchParameter optional
NoUnknownData 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.