1

I would like to translate the code below that is made with the commands from module Microsoft.Online.SharePoint.PowerShell to PnpPowerShell. Is that possible?

#Get the Target List
$list = $web.Lists["MyList"]
#Get the View
$view = $list.Views["ToPrint"] 

#Get All items from the view
$items = $list.GetItems($view)

Gr, P

2

No, pnp does not support querying a list based on a view, though it does support using a caml query.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.