Get list of all SIP addresses on Exchange in searchable view
Get-Mailbox -ResultSize Unlimited | Select-Object -ExpandProperty EmailAddresses | Where-Object {$_ -imatch "SIP" } | Select-Object ProxyAddressString | Out-GridView
or to view in comma separated file:
Get-Mailbox -ResultSize Unlimited | Select-Object -ExpandProperty EmailAddresses | Where-Object {$_ -imatch "SIP" } | Select-Object ProxyAddressString | Export-Csv [PATH TO FILE HERE]
or to view in comma separated file:
Get-Mailbox -ResultSize Unlimited | Select-Object -ExpandProperty EmailAddresses | Where-Object {$_ -imatch "SIP" } | Select-Object ProxyAddressString | Export-Csv [PATH TO FILE HERE]
Kommentarer
Send en kommentar