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]

Kommentarer

Populære indlæg fra denne blog

Microsoft Office 2016 and the AUTO_ACTIVATE property

Enable OpenELEC SSH login with keys, and without password, disable local SSH password

Disable logon and logoff events (event id 4624, 4625, 4634 (and all the other ones...))