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.
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.
Anybody know if this is correct, I can run this command against a tenant but get no output?
Your teanant have any Skype users? If not then you get no output.
Yes, it is correct
correct answer is Get-Mailbox Enable-Mailbox
—> https://technet.microsoft.com/en-us/library/jj984357(v=exchg.150).aspx
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]
It is correct as proposed.
Answer is:
Select-Object
-ExpandProperty
EmailAddresses
Where-Object
{$_ -match “SIP“}
Answer is:
Get-Mailbox
Enable-Mailbox
https://technet.microsoft.com/en-us/library/jj984357(v=exchg.150)