Sharepoint 2013 – Get list by url in powershell

I tried to find out how to retrieve a list by its url. There is only one thing that powershell code should be used as csharp code. These following code maybe helpful:


$list  = $web.GetList($web.ServerRelativeUrl + "/Lists/CrossSelling")

Leave a comment