pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
990 stars 663 forks source link

Request Additional Examples for Invoke-PnPQuery #2899

Open robertcaretta opened 4 years ago

robertcaretta commented 4 years ago

Is your feature request related to a problem? Please describe. The problem is lack of understanding of what is possible. Could you please provide examples of other command combinations that can be used with Invoke-PnPQuery?

As an example, this is a really useful command for changing the list URL.

Get list & change URL

$List = Get-PnPList -Identity $ListName -Includes RootFolder; $List.Rootfolder.MoveTo($NewListURL); Invoke-PnPQuery;

Describe the solution/cmdlet you'd like Just looking for additional examples of what else is possible.

Describe alternatives you've considered None

Additional context Attempting request for documentation here first. https://github.com/MicrosoftDocs/office-docs-powershell/issues/6433

AlanPS1 commented 3 years ago

I thought I'd bump this a little as Like Robert, I'd like to get a look a few more examples to see what can be done with this cmdlet. Any assistance from the community or the PnP team would be gratefully received.