Skip to Content

MS-101: Which cmdlet should you run in Microsoft Exchange Online PowerShell to ensure user can label email?

Question

You have a Microsoft 365 E5 subscription that contains a user named User1. You create a retention label named Retention1 that is published to all locations. You need to ensure that User1 can label email messages by using Retention1 as soon as possible. Which cmdlet should you run in Microsoft Exchange Online PowerShell?

A. Start-ManagedFolderAssistant
B. Start-AppBackgroundTask
C. Start-MpScan
D. Start-Process

Answer

A. Start-ManagedFolderAssistant

Explanation

To ensure that User1 can label email messages using Retention1 as soon as possible in Microsoft Exchange Online, the cmdlet you should run in Microsoft Exchange Online PowerShell is:

A. Start-ManagedFolderAssistant

Let’s provide a comprehensive explanation of the cmdlet and why it is the correct choice:

A. Start-ManagedFolderAssistant:
The Start-ManagedFolderAssistant cmdlet is used to manually start the Managed Folder Assistant process in Microsoft Exchange Online. The Managed Folder Assistant is responsible for applying messaging records management (MRM) policies to mailbox items, including retention policies and retention labels. By running this cmdlet, you initiate the process that applies the retention label (Retention1) to User1’s mailbox, allowing User1 to label email messages using Retention1 as soon as possible.

B. Start-AppBackgroundTask:
The Start-AppBackgroundTask cmdlet is not relevant to the scenario described. It is used for managing background tasks in Microsoft 365 apps.

C. Start-MpScan:
The Start-MpScan cmdlet is used to initiate a manual scan for malware and other security threats in Windows Defender. It is not related to labeling email messages or applying retention labels in Exchange Online.

D. Start-Process:
The Start-Process cmdlet is used to start a new process on the local computer or a remote computer. It is not applicable in this scenario, as it does not relate to Exchange Online or the labeling of email messages.

Therefore, the correct cmdlet to run in Microsoft Exchange Online PowerShell to ensure that User1 can label email messages using Retention1 as soon as possible is A. Start-ManagedFolderAssistant. Running this cmdlet triggers the Managed Folder Assistant process, which applies the retention policies and labels, including Retention1, to User1’s mailbox.

Reference

Microsoft 365 Mobility and Security MS-101 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft 365 Mobility and Security MS-101 exam and earn Microsoft 365 Mobility and Security MS-101 certification.