Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Get-PnPProperty -Property File is also reporting folders (as a blank space) #2008

@veronicageek

Description

@veronicageek

Reporting an Issue or Missing Feature

Issue when using the Get-PnPProperty with -Property File

Expected behavior

I expect to return only the Files (type) and not the Folders

Actual behavior

When I run the Get-PnPProperty -ClientObject <myVariable> -Property File it's also giving me the folders (as a blank space for the console output, but also export those folders in my .Csv)

Steps to reproduce behavior

Please include complete code samples in-line or linked from gists
image

Which version of the PnP-PowerShell Cmdlets are you using?

  • PnP PowerShell for SharePoint 2013
  • PnP PowerShell for SharePoint 2016
  • [ x] PnP PowerShell for SharePoint Online

What is the version of the Cmdlet module you are running?

3.8.1904.0

How did you install the PnP-PowerShell Cmdlets?

  • MSI Installed downloaded from GitHub
  • [ x] Installed through the PowerShell Gallery with Install-Module
  • Other means

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions