exam questions

Exam MS-203 All Questions

View all questions & answers for the MS-203 exam

Exam MS-203 topic 2 question 45 discussion

Actual exam question from Microsoft's MS-203
Question #: 45
Topic #: 2
[All MS-203 Questions]

HOTSPOT -
You have a Microsoft Exchange Server 2019 hybrid deployment.
You run the following command.
New-AddressList `"Name `List1` `" RecipientFilter {(RecipientType `"eq 'UserMailbox') -and (Title -like '*Sales*' -or Title
-like '*Marketing*') -and (CountryOrRegion -eq 'Canada' -or CountryOrRegion -eq 'Mexico')}
You have the users shown in the following table.

You have the shared mailboxes shown in the following table.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: No -
User2 is from France. Only users from Canada or Mexico are included.
Note: Use the New-AddressList cmdlet to create address lists and apply them to recipients.
To create flexible filters that use any available recipient property and that aren't subject to these limitations, you can use the RecipientFilter parameter to create an
OPath filter.

Box 2: Yes -
Marketing is in the Title and User3 is from Canada.

Box 3: Yes -
Meeting Room 1 has Sales in the Title and Country is Canada.
Meeting Room 2 has Marketing in the Title and Country is Mexico.
Reference:
https://docs.microsoft.com/en-us/powershell/module/exchange/new-addresslist

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Amir1909
6 months, 2 weeks ago
Correct
upvoted 1 times
...
Nyamnyam
7 months, 4 weeks ago
Hohoho, MSFT even have this error in their manpage: https://learn.microsoft.com/en-us/powershell/module/exchange/new-addresslist?view=exchange-ps See Examples 1 and 3 with incorrect code including 'RecipientType'. I submitted a change request in Github.
upvoted 1 times
...
Adh356
8 months, 1 week ago
https://o365info.com/introduction-various-type-exchange-online-recipients-powershell-cmdlets-office-365-part-8-13/ For example, the RecipientType Shared mailbox is UserMailbox, because Shared mailbox is realized as a user account that is associated with Exchange Online mailbox
upvoted 1 times
...
Andrutzzza
1 year, 6 months ago
https://learn.microsoft.com/en-us/exchange/recipients/recipients?view=exchserver-2019 user mailbox and shared mailbox are different recipient types
upvoted 2 times
Nyamnyam
7 months, 4 weeks ago
Well, yes, but in your reference it is also written "unique value in the RecipientTypeDetails property". So Ash356 is correct: RecipientType is the same for all - User, Shared, Room, Equipment - mailboxes.
upvoted 1 times
...
Andrutzzza
1 year, 6 months ago
actually shared mailbox would be in the recipienttypedetails attribute so answer is correct
upvoted 3 times
syougun200x
1 year, 2 months ago
Think youre right. Below is returned fora shared mailbox in my lab tenant. PS C:\Windows\system32> Get-Mailbox -Identity 365shared1 |fl *type* ResourceType : RemoteRecipientType : None RecipientType : UserMailbox RecipientTypeDetails : SharedMailbox
upvoted 1 times
...
Mathne
1 year, 4 months ago
SO confused on this one. I think you may be right though. Went from here (https://learn.microsoft.com/en-us/powershell/exchange/recipientfilter-properties?view=exchange-ps) to here (https://learn.microsoft.com/en-us/powershell/module/exchange/get-recipient?view=exchange-ps#:~:text=%2D-,RecipientType,-The%20RecipientType%20parameter). And under the recipienttype filter, there is no SharedMailbox option. So maybe UserMailbox does include shared mailboxes? If so that is SO confusing and such a powershell deep dive/tricky question. Thank goodness for these discussion pages or else I'd have said No, Yes, No.
upvoted 3 times
...
...
...
MSExch11
1 year, 9 months ago
Correct, since Room 1 and Room 2 are Shared Mailboxes and not Ressources.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...