Can the code from Microsoft.Online.SharePoint.PowerShell be translated to PnPPowerShell RRS feed

  • Question

  • 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

    • Edited by PeetK Friday, January 18, 2019 5:27 PM
    Friday, January 18, 2019 5:14 PM