MyList is a document library with a column called 'name'. I am trying to do this in my Powershell script:
$myList= $subWeb.Lists["MyList"]
$items= $myList.Items | sort Title
foreach ($li in $items) {
Write-Host $li.name # is empty?
}
When I look in the interface it clearly shows rows in the MyList library. Why is $li.name empty or how can I get the $li.name property?
