I am in the process of writing a powershell script to work with checked out files and I stumpled on this article: Find All Checked Out Files
My question is what is the difference between the two sections...
foreach ($item in $list.CheckedOutFiles) {...
and
foreach ($item in $list.Items) {
if ($item.File.CheckOutStatus -ne "None") {...
At first glance it looks like $list.CheckedOutFiles
returns a collection of SPCheckedOutFile
where as the second returns SPListItems
...
In what scenario would something be a part of $list.CheckedOutFiles
and not be part of the second?
My reason for asking is that I would rather only use the SPListItems because they have the properties available to me that I am looking for, but I want to make sure I am not missing something I need....