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

Example 1 incorrect on Clear-PnPRecycleBinItem Microsoft Docs page #3015

Open
rakova17 opened this issue Dec 1, 2020 · 1 comment
Open
Assignees
Labels

Comments

@rakova17
Copy link

rakova17 commented Dec 1, 2020

Hello.

I originally opened this issue here: https://github.com/MicrosoftDocs/office-docs-powershell/issues/6893 and was instructed to come here (see link).

Example 1 on this page is incorrect: https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/clear-pnprecyclebinitem?view=sharepoint-ps

This:

Get-PnPRecycleBinItem | ? FileLeafName -like "*.docx" | Clear-PnpRecycleBinItem

Should be:

Get-PnPRecycleBinItem | ? LeafName -like "*.docx" | Clear-PnpRecycleBinItem

Thanks!

@ToddKlindt
Copy link
Contributor

I submitted a fix for this in PR #3016.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants