How to remove Braces/Curly Brackets from output
$t = [ADSI]"WinNT://$env:COMPUTERNAME"
$t1 = $adsi.PSBase.Children |where {$_.SchemaClassName -eq 'user'}
$t1 |select Name,Fullname
Name Fullname
---- --------
{Anon} {Anon Xen1}
{Anon1} {Anon1 Xen2}
{Anon2} {Anon2 Xen3}
The reason there are curly braces in the first place is because the Name and FullName properties are collections not strings. Specifically they are System.DirectoryServices.PropertyValueCollection objects.
Extra properties snipped
You could then create a custom object and assign the values to it similar to the previous answer but I would iterate through the collection instead of arbitrarily grabbing the first member.
If you would like to shorten it to a one liner you can use the following:
Something like this, perhaps: