-
Notifications
You must be signed in to change notification settings - Fork 399
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue description
According the pnp.github.io documentation, the cmdlet Restore-PnPRecycleBinItem supports a string array parameter: IdList however this does not seem to be the case. Updated to v3.1.0 but this parameter is still not recognised.
Expected behavior
- When calling the
Restore-PnPRecycleBinItemcmdlet, the parameterIdListshould be recognised as valid. - Running the code provided in Example #4 should work (if the specific GUIDs are valid)...
> Restore-PnPRecycleBinItem -IdList @("31897b05-fd3b-4c49-9898-2e7f10e59cac","b16f0733-9b07-4ef3-a4b6-896edca4babd", "367ef9d2-6080-45ea-9a03-e8c9029f59dd")
Actual behavior
- The
Restore-PnPRecycleBinItemdoes not provideIdListas a parameter that can be passed in. - Running the code provided in Example #4 fails before executing, advising that
IdListis an invalid parameter...
> Restore-PnPRecycleBinItem -IdList @("31897b05-fd3b-4c49-9898-2e7f10e59cac","b16f0733-9b07-4ef3-a4b6-896edca4babd", "367ef9d2-6080-45ea-9a03-e8c9029f59dd")
> [ERROR] Restore-PnPRecycleBinItem: A parameter cannot be found that matches parameter name 'IdList'
Steps to reproduce behaviour
- Use IntelliSense or Show-Command to get cmdlet parameters.
- Try to run Example #4 from the cmdlet help
What is the version of the Cmdlet module you are running?
3.1.0
Which operating system/environment are you running PnP PowerShell on?
- Windows
- Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working