Cmdlets for Microsoft OneNote

Build 24.0.9060

DownloadDocument

To download the file or image resource object

Input

Name Type Required Description
ResourceId String True The Id of the file/image to download.
GroupId String False The group id of the resource id.
UserId String False The user id of the resource id.
Name String False The name of the file/image to download (you can set manually the correct name of the file, or you can set another name). FileName should contain the file format as well. Example: Test.jpg
LocalPath String False The local path to save the files/image to.
Encoding String False The FileData input encoding type.

The allowed values are NONE, BASE64.

The default value is BASE64.

Result Set Columns

Name Type Description
FullName String The name of the downloaded file/image.
FullPath String The full path (including name) of the downloaded file.
Status String Status of the downloading document operation.
FileData String If the LocalPath and FileStream are not provided, this contains the content of the file.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060