Powershell command to check when was the last time Managed Folder Assitant was run.

Abhimanyu Sharma 86 Reputation points
2022-05-18T14:06:29.787+00:00

Powershell command to check when was the last time Managed Folder Assistant was run and need powershell command to check if Managed Folder Assistant is working or not for a user. (That means whether the emails items has been moved or not).

Exchange | Exchange Server | Management
Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.7K Reputation points MVP Volunteer Moderator
    2022-05-18T14:33:38.323+00:00

    You need to look into the mailbox diagnostic logs for this info, specifically the ELCLastSuccessTimestamp. Here's how to get it:

    Export-MailboxDiagnosticLogs vasil -ExtendedProperties
    

    Since it returns an XML blob, you might as well cast it as xml and do this:

    [xml]$diag = (Export-MailboxDiagnosticLogs vasil -ExtendedProperties).MailboxLog
    $diag.Properties.MailboxTable.Property | ? {$_.Name -like "ELC*"}
    

    which will spill out all the relevant props:

    Name                                    Value
    ----                                    -----
    ElcLastRunTotalProcessingTime           169632
    ElcLastRunSubAssistantProcessingTime    128305
    ElcLastRunUpdatedFolderCount            15
    ElcLastRunTaggedFolderCount             0
    ElcLastRunUpdatedItemCount              7
    ElcLastRunTaggedWithArchiveItemCount    7
    ElcLastRunTaggedWithExpiryItemCount     5
    ElcLastRunDeletedFromRootItemCount      14
    ElcLastRunDeletedFromDumpsterItemCount  0
    ElcLastRunArchivedFromRootItemCount     242
    ElcLastRunArchivedFromDumpsterItemCount 0
    ELCLastSuccessTimestamp                 5/17/2022 7:48:23 PM
    ElcLastRunSkippedNoTagItemCount         0
    ElcLastRunSkippedWithTagItemCount       0
    ElcLastRunSkippedNotExcludedItemCount   0
    ElcFaiSaveStatus                        SaveSucceeded
    ElcFaiDeleteStatus                      DeleteNotAttempted
    
    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Abhimanyu Sharma 86 Reputation points
    2022-05-18T17:54:30.807+00:00

    But if run MFA command multiple times , we're able to forcefully move emails items. As per my observation.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.