PowerShell to get splistitem by id? RRS feed

  • Question

  • Hi,

    In SharePoint 2010 - How to get splistitem using PowerShell please?

    Thanks so much.

    Tuesday, October 8, 2013 9:54 PM


  • $web = Get-SPWeb http://webUrl
    $list = $web.GetList("ListName")
    That would get you the list item ID of "1" from the list named "ListName".

    Trevor Seward, MCC

    Follow or contact me at...

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    • Marked as answer by frob Tuesday, October 8, 2013 10:06 PM
    Tuesday, October 8, 2013 10:01 PM