Author Posts

May 18, 2016 at 2:49 am


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 *

May 18, 2016 at 5:19 am

$psobject | Select-Object property1,property2