I wrote a poweshell function (cmdlets-Function) to get mailbox permissions along with permission holders details (their manager, employeetype…title…etc)
Inside the function im collecting all the information to “PSObject” and at the end i use “Write-Output $psobject” to print the data to console, and it print 10 property of the psobject.

My question is how can i restrict the property that needs to be printed ? until unless i use fl * … or select * … ft *

$psobject | Select-Object property1,property2