I've the following code to retrieve list items and select properties:
$list = $web.Lists["MyCustomList"] $listItems = $list.GetItems() $items = $listItems | select "MyCustomFieldName"
This does not work tho (I've tried with ex. 'Title' and it works), how could I retrieve the custom field? If I do the following, it gives me the value: