Hi,
I’m trying to get a table and change some values to display for the user.
Something like this:
Original table
Identity Trustee AccessRights
list1 luiz {SendAs}
list1 nayara {SendAs}
list1 adriana {SendAs}
list2 rafael {SendAs}
list2 samuel {SendAs}
list2 sueli {SendAs}
list2 thais {SendAs}
Custom table that I managed to make
Lista/Caixa Usuário Permissão
list1 luiz {SendAs}
list1 nayara {SendAs}
list1 adriana {SendAs}
list2 rafael {SendAs}
list2 samuel {SendAs}
list2 sueli {SendAs}
list2 thais {SendAs}
I’m using the command below to get to this table:
$listas = Get-RecipientPermission | where {($.Trustee -ne ‘nt authority\self’) -and ($.Trustee -ne ‘null sid’)} | select Identity,Trustee,AccessRights | ft @{expression=“Identity”;label=“Lista/Caixa”;width=35},@{expression=“Trustee”;label=“Usuário”},@{Expression=“AccessRights”;label=“Permissão”}
But I need to change that “{SendAs}” for something like “Enviar como”, to make the table look like this:
Custom table needed
Lista/Caixa Usuário Permissão
list1 luiz Enviar como
list1 nayara Enviar como
list1 adriana Enviar como
list2 rafael Enviar como
list2 samuel Enviar como
list2 sueli Enviar como
list2 thais Enviar como
Is it possible?