Cmdlets for Microsoft OneDrive

Build 25.0.9434

IncludeFoldersWithFiles Parameter (Connect-OneDrive Cmdlet)

Specifies whether folders should be included in the results when retrieving files.

Syntax

Connect-OneDrive -IncludeFoldersWithFiles SwitchParameter

Data Type

bool

Default Value

false

Remarks

By default, folders are not included in the files view.

Set this property to True to include folders along with files. Use the ResourceType column to distinguish between files and folders.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434