Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 905 Bytes

ExecutePnPQuery.md

File metadata and controls

27 lines (23 loc) · 905 Bytes

#Execute-PnPQuery Executes any queued actions / changes on the SharePoint Client Side Object Model Context ##Syntax

Execute-PnPQuery [-RetryCount <Int32>]
                 [-RetryWait <Int32>]

##Parameters

Parameter Type Required Description
RetryCount Int32 False Number of times to retry in case of throttling. Defaults to 10.
RetryWait Int32 False Delay in seconds. Defaults to 1.
##Examples

###Example 1

PS:> Execute-PnPQuery -RetryCount 5

This will execute any queued actions / changes on the SharePoint Client Side Object Model Context and will retry 5 times in case of throttling.

###Example 2

PS:> Execute-PnPQuery -RetryWait 10

This will execute any queued actions / changes on the SharePoint Client Side Object Model Context and delay the execution for 10 seconds before it retries the execution.