exam questions

Exam MS-203 All Questions

View all questions & answers for the MS-203 exam

Exam MS-203 topic 1 question 79 discussion

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

DRAG DROP -
You have a Microsoft Exchange Online tenant that contains a public folder mailbox named ContosoPF. ContosoPF contains a public folder named Folder1.
You need to analyze public folder usage. The solution must meet the following requirements:
✑ Identify the total number of calendar public folders in ContosoPF.
✑ Identify all the email messages in Folder1 that contain an attachment.
Which PowerShell cmdlet should you run for each requirement? To answer, drag the appropriate cmdlets to the correct requirements. Each cmdlet 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.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Get-MailPublicFolder -
Use the Get-MailPublicFolder cmdlet to retrieve mail-related information about mail-enabled public folders. If you want information about the basic (not mail- related) settings of mail-enabled public folders, use the Get-PublicFolder cmdlet instead.
Box 2: Get-PublicFolderItemStatistics
Use the Get-PublicFolderItemStatistics cmdlet to view information about items within a specified public folder. Information returned includes subject, last modification time, creation time, attachments, message size, and the type of item. You can use this raw information to better understand the distribution of items and item characteristics across public folders.
Incorrect:
* Use the Get-PublicFolder cmdlet to retrieve the attributes of a public folder or a set of public folders.
* Use the Get-PublicFolderStatistics cmdlet to retrieve statistical information about public folders, such as folder size and last logon time.
* Get-PublicFolderMailboxDiagnostics
Use the Get-PublicFolderMailboxDiagnostics cmdlet to view event-level information about a public folder mailbox. This information can be used to troubleshoot public folder issues.
* Use the Get-PublicFolderDatabase cmdlet to view public folder database settings for Microsoft Exchange Server 2010 or earlier public folders.
Reference:
https://docs.microsoft.com/en-us/powershell/module/exchange/get-mailpublicfolder?view=exchange-ps https://docs.microsoft.com/en-us/powershell/module/exchange/get-publicfolderitemstatistics?view=exchange-ps

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
4 months, 3 weeks ago
Correct
upvoted 1 times
...
lasha
1 year, 3 months ago
To identify the total number of calendar public folders in ContosoPF, run the following PowerShell cmdlet: Get-PublicFolder -Recurse | Where-Object {$_.FolderClass -eq "IPF.Appointment"} | Select-Object Name | Measure-Object To identify all the email messages in Folder1 that contain an attachment, run the following PowerShell cmdlet: Get-PublicFolderItemStatistics -Identity "\ContosoPF\Folder1" | Where-Object {$_.HasAttachments -eq $true} | Select-Object Subject This command retrieves the statistics of all items in Folder1, filters the items that have attachments, and then displays the subject of the email messages.
upvoted 2 times
...
EXC01
1 year, 3 months ago
First Answer: How about: Get-PublicFolderMailboxDIiagnostics -Identity "ContosoPF" -IncludeHierarchyInfo as it includeds: (CalendarFolderCount: The number of calendar public folders.)
upvoted 1 times
syougun200x
1 year, 3 months ago
Seems you are right. I will second that. Here is what I got after creating one calendar folder in two public folders each. HierarchyInfo : TotalFolderCount: 6 MailPublicFolderCount: 2 MaxFolderChildCount: 2 HierarchyDepth: 3 CalendarFolderCount: 2 ContactFolderCount: 0 InfoPathFolderCount: 0 JournalFolderCount:: 0 NoteFolderCount: 3 StickyNoteFolderCount: 0 TaskFolderCount: 0 OtherFolderCount: 1
upvoted 1 times
...
...
RohitPSingh
1 year, 6 months ago
A- Get-MailPublicFolder B- Get-PublicFolderItemStatistics -Identity "\ContosoPF" | Format-List
upvoted 1 times
...
[Removed]
1 year, 7 months ago
A- Get-PublicFolder b- Get-PublicFolderItemStatistics https://learn.microsoft.com/en-us/powershell/module/exchange/get-publicfolder?view=exchange-ps
upvoted 3 times
...
99redeyeflight
1 year, 7 months ago
I dont believe the first answer is correct as ContosoPF is a PF mailbox, not a PF Second answer is correct: Get-PublicFolderitemStatistics -Identity “name of PF” | where {$_.hasattachments -eq $true} Get-PublicFolderitemStatistics -Identity “name of PF” | where {$_.hasattachments -eq $false}
upvoted 2 times
PawelNotts
1 year, 7 months ago
Box A: Get-PublicFolder -identity ContosoPF | where {$_.FolderClass -eq "IPF.Appointment"} Box B: As above.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago