powershell
powershell copied to clipboard
[FEATURE] Get PnPFolder asItem object. Similar to Get-PNPFile
Is your feature request related to a problem? Please describe. Currently there is no way to get ListITem equivalent of Folder based on its UEL
Describe the solution you'd like
Get-PnPFile -Url <String> -AsListItem
Above command provides easy way to get List item object based on URL. On similar ground if we can get Folders ITEM object
https://pnp.github.io/powershell/cmdlets/Get-PnPFolder.html https://pnp.github.io/powershell/cmdlets/Get-PnPFile.html