How should you complete the relevant Windows PowerShell script?

DRAG DROP
You are the Office 365 administrator for your company.
You need to generate a list of all Session Initiation Protocol (SIP) addresses.
How should you complete the relevant Windows PowerShell script? To answer, drag the
appropriate command segments to the correct targets. Each segment may be used once,
more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

DRAG DROP
You are the Office 365 administrator for your company.
You need to generate a list of all Session Initiation Protocol (SIP) addresses.
How should you complete the relevant Windows PowerShell script? To answer, drag the
appropriate command segments to the correct targets. Each segment may be used once,
more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Answer:

Explanation:



Leave a Reply 8

Your email address will not be published. Required fields are marked *


Jactor

Jactor

Anybody know if this is correct, I can run this command against a tenant but get no output?

Paul

Paul

Your teanant have any Skype users? If not then you get no output.

yoj

yoj

Yes, it is correct

Justin Thompson

Justin Thompson

I tested it as well against my tenant and it works as advertised. If you were to execute just the first part of the command you would get the following output:

Get-Mailbox -ResultSize Unlimited | Select-Object -ExpandProperty EmailAddreses

SMTP:[email protected]
SMTP:[email protected]
SIP:[email protected]
SMTP:[email protected]
SMTP:[email protected]

Now if you add the Where-Object filter only the SIP addresses will remain:

Get-Mailbox -ResultSize Unlimited | Select-Object -ExpandProperty EmailAddresses | Where-Object {$_. -match “SIP
“}

SIP:[email protected]

Andres Martinez

Andres Martinez

It is correct as proposed.

Josh

Josh

Answer is:

Select-Object
-ExpandProperty
EmailAddresses
Where-Object
{$_ -match “SIP“}