Skip to content

Instantly share code, notes, and snippets.

View imagina's full-sized avatar

Imagina Colombia imagina

View GitHub Profile
imagina / Convert-Sharepoint-Choice-Column-to-Lookup-Column.ps1
Last active January 7, 2021 00:31
Convert Sharepoint Choice Column to Lookup Column - PowerShell
#Install PnP PowerShell in your local machine
$SiteUrl = "";
$ListMainName = "List Name";
$ListCompaniesName = "Lookup List Name"
# Login using Web
Connect-PnPOnline -Url $SiteUrl -UseWebLogin
#If we can't use PnP