I am replacing a colleague for the support of a SharePoint 2010 intranet.
In PowerShell console : I can retrieve a list by its display name from the Lists collection of a SPWeb object.
In a PowerShell script : I can only retrieve a list by its integer index from the Lists collection of a SPWeb object. Why ?
Any help will be greatly appreciated