Forum Discussion

stromnessian's avatar
stromnessian
Brass Contributor
Oct 26, 2022
Solved

PowerShell PnP "Shared Documents"

Hi   The answer to this is probably staring me in the face, and will be trivial to many on this forum I suspect.  I want to create a list using PnP PowerShell, with items based on document librarie...
  • ganeshsanap's avatar
    ganeshsanap
    Oct 26, 2022

    stromnessian You can use this PowerShell: 

     

    $lists = Get-PnPList -Includes RootFolder
    $lists.RootFolder.Name

     

    This will give you the correct name of document library. 


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources