Open ghost opened 3 years ago
If you have a question and are not reporting a bug, please go to:
https://github.com/pnp/pnp-powershell/discussions
Trying to get all folders in a document library "Delte dokumenter" (Shared documents) via $library = "Delte dokumenter" Get-PnPFolder -list $library
Produces an exception:
Get-PnPFolder : A parameter cannot be found that matches parameter name 'list'. At line:1 char:15
+ CategoryInfo : InvalidArgument: (:) [Get-PnPFolder], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,SharePointPnP.PowerShell.Commands.Files.GetFolder
Please confirm what it is that your reporting
All the folders in the library will be listed.
Connect to pnponline site Save library in variable and run Get-PnPFolder -list "libraryname"
3.9.1905.3 SharePointPnPPowerShellOnline
If you have a question and are not reporting a bug, please go to:
https://github.com/pnp/pnp-powershell/discussions
Issue
Trying to get all folders in a document library "Delte dokumenter" (Shared documents) via $library = "Delte dokumenter" Get-PnPFolder -list $library
Produces an exception:
Get-PnPFolder : A parameter cannot be found that matches parameter name 'list'. At line:1 char:15
Reporting an Issue or Missing Feature
Please confirm what it is that your reporting
Expected behavior
All the folders in the library will be listed.
Actual behavior
Get-PnPFolder : A parameter cannot be found that matches parameter name 'list'. At line:1 char:15
Steps to reproduce behavior
Connect to pnponline site Save library in variable and run Get-PnPFolder -list "libraryname"
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.9.1905.3 SharePointPnPPowerShellOnline
How did you install the PnP-PowerShell Cmdlets?