Hi Team,
Could you please help to get the Lookup field value and updating lookup fileds using PnP PowerShell.
Thanks,
Ramakrishna T
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajkiran SwainRank #165 · 14.4K reputationPosted Jul 24, 2017, 10:20 PM EDT
web = Get-SPWeb $webURL
$lookupWeb = Get-SPWeb $lookupWebURL
$column = $web.Fields[$columnName]
$lookupList = $web.Lists[$lookupListName]
$newLookupListID = "{"+$lookupList.ID.ToString()+"}"
$newLookupWebID = $web.ID.ToString()
$column.SchemaXml
Sagar PardeshiRank #103 · 20.8K reputationPosted Jul 23, 2017, 11:53 PM EDT