Learn SharePoint

Wednesday, 30 November 2016

Update SharePoint list using Powershell

$spWeb = Get-SPWeb -Identity http://yourdomain/sites/config
$spList = $spWeb.Lists["AppSettings"]
$spItem = $spList.GetItemById(10013) //or another way that you prefer.
$spItem["Name"] = "MyName"
$spItem.Update()
Posted by Sharepoint Guy at 01:37
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)
Related Posts Plugin for WordPress, Blogger...

Total Pageviews

Blog Archive

  • ►  2024 (3)
    • ►  October (1)
    • ►  August (1)
    • ►  July (1)
  • ►  2021 (1)
    • ►  July (1)
  • ►  2020 (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2019 (2)
    • ►  May (2)
  • ►  2018 (1)
    • ►  June (1)
  • ►  2017 (10)
    • ►  March (6)
    • ►  February (4)
  • ▼  2016 (44)
    • ►  December (7)
    • ▼  November (3)
      • Create sub folders in document library using Powes...
      • Update SharePoint list using Powershell
      • Get items from SharePoint List using PowerShell sc...
    • ►  October (1)
    • ►  September (2)
    • ►  August (5)
    • ►  March (8)
    • ►  February (5)
    • ►  January (13)
  • ►  2015 (88)
    • ►  December (10)
    • ►  November (10)
    • ►  October (21)
    • ►  September (2)
    • ►  August (2)
    • ►  July (2)
    • ►  June (41)
Related Posts Plugin for WordPress, Blogger...
IndiBlogger - The Largest Indian Blogger Community
Top Blogs
Software
Copyright Abhas Verma. Simple theme. Powered by Blogger.