Cmdlets for Microsoft SharePoint

Build 24.0.9175

FolderOption Parameter (Connect-SharePoint Cmdlet)

An option to determine how to display folders in results. Enter either FilesOnly, FilesAndFolders, Recursive, or RecursiveAll. This property applies only to the SOAP schema.

Syntax

Connect-SharePoint -FolderOption string

Possible Values

FilesOnly, FilesAndFolders, RecursiveAll

Data Type

cstr

Default Value

"RecursiveAll"

Remarks

  • FilesOnly will display only files in specified lists or libraries.
  • FilesAndFolders will display files and folders in the specified list.
  • RecursiveAll will display files in the specified list and all subfolders.

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