[Solved] How to get the value from NoteProperty?


I do not have a way to test it right now, but one way to do that might be like this:

Get-Mailbox | select EmailAddresses, UserPrincipalName, DisplayName, PrimarySmtpAddress, @{Name="SIPAddress";Expression={$PSItem.EmailAddresses -match "sip:"}}

solved How to get the value from NoteProperty?