2

I have a list with folders, multiple folders within each of the folders, and multiple items in each of the subfolders.

How do I iterate through the subfolders to get a similar output in PowerShell?

List
  Folder A
    Subfolder 1
      Item I
      Item II
      Item III
    Subfolder 2
      Item I
      Item II
      Item III
  Folder B
    Subfolder 1
      Item I
      Item II
      Item III
2
  • 1
    SharePoint Online or SharePoint server?
    – grisha
    Commented Feb 2, 2016 at 16:43
  • SharePoint server. 2013
    – cooper
    Commented Feb 2, 2016 at 16:59

1 Answer 1

1

through powershell or

c-sharp code

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.