The property 'AssignedTo
' is a scriptproperty
evaluated at run time from the Microsoft.TeamFoundation.PowerTools.PowerShell.format.ps1xml
powershell custom format file.
The value is taken from:
$_.Fields[[Microsoft.TeamFoundation.WorkItemTracking.Client.CoreField]::AssignedTo].Value
then I think (I can't test it because I don't have a TF Server source ) you need to do:
$items | format-table @{n="AssignedTo";e={$_.Fields[[Microsoft.TeamFoundation.WorkItemTracking.Client.CoreField]::AssignedTo].Value}} , State