I try to print Authors of all items of docset list in powershell script:
Clear-Host
$web = Get-SPWeb "http://dogovor.ab.ru"
$list = $web.Lists["Agreements"]
$AllItems = $list.Items
foreach ($t in $AllItems)
{
if ($t.ContentType.Name -eq "Agreement")
{
$t.Properties["Author"] # <- null
$t
}
}
but the property "Created By" (internal name "Author") is always null, while I can see it on form.
May be there are a list of properties to retrieve or something else..
Thanks for answers!