< Back
Get-LaMailboxMFA
Post
NAME Get-LaMailboxMFA
SYNOPSIS
Reports on several key indicators of the Managed Folder Assistant against one or more mailboxes or mailbox
archives. Also, it can start the Managed Folder Assistant for one more or more mailboxes.
SYNTAX
Get-LaMailboxMFA [-userprincipalname] <String[]> [-Archive] [-StartMFA] [<CommonParameters>]
DESCRIPTION
Reports on several key indicators of the Managed Folder Assistant against one or more mailboxes or mailbox
archives. Also, it can start the Managed Folder Assistant for one more or more mailboxes.
Mailbox UPNs should be passed from the pipeline as demonstrated in the examples below.
Individual mailboxes, all mailboxes, all mailboxes in a department are all possibilities.
Also demonstrated in an example below is importing mailboxes (UPNs) from a CSV
PARAMETERS
-userprincipalname <String[]>
{{UPNs passed from the pipeline}}
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
-Archive [<SwitchParameter>]
{{Reports on Archive Mailbox}}
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-StartMFA [<SwitchParameter>]
{{Actually Starts the MFA for Mailboxes passed at pipeline}}
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- EXAMPLE 1 --------------------------
Get-Mailbox -ResultSize unlimited | Select UserPrincipalName | Get-LaMailboxMFA | Out-GridView
-------------------------- EXAMPLE 2 --------------------------
Get-Mailbox -ResultSize unlimited | Select UserPrincipalName | Get-LaMailboxMFA -Archive | Export-Csv
.\\MFAstatsForARCHIVEmailbox.csv -NoTypeInformation
This command reports on the Managed Folder Assistant statistics for ARCHIVE mailboxes. Hence, the -Archive switch.
-------------------------- EXAMPLE 3 --------------------------
Get-Mailbox -identity "user01@contoso.com" | Select UserPrincipalName | Get-LaMailboxMFA -StartMFA
This command starts the Managed Folder Assistant and could be subject to Microsoft throttling
-------------------------- EXAMPLE 4 --------------------------
Get-MsolUser -All -Department 'Human Resources' | Select UserPrincipalName | Get-LaMailboxMFA -StartMFA
This command starts the Managed Folder Assistant and could be subject to Microsoft throttling
-------------------------- EXAMPLE 5 --------------------------
Get-Mailbox -ResultSize unlimited | Select UserPrincipalName | Get-LaMailboxMFA | Export-Csv .\\MFAstats.csv
-NoTypeInformation
-------------------------- EXAMPLE 6 --------------------------
Import-Csv .\\upns.csv | Get-LaMailboxMFA | Export-Csv .\\MFAstats.csv -NoTypeInformation
-------------------------- EXAMPLE 7 --------------------------
Import-Csv .\\upns.csv | Get-LaMailboxMFA | Out-GridView
-------------------------- EXAMPLE 8 --------------------------
Get-MsolUser -All -Department 'Human Resources' | Select UserPrincipalName | Get-LaMailboxMFA | Export-Csv
.\\HRsMFAstats.csv -NoTypeInformation
-------------------------- EXAMPLE 9 --------------------------
A CSV could look like this
UserPrincipalName
user01@contoso.com
user02@contoso.com
RELATED LINKS
SYNOPSIS
Reports on several key indicators of the Managed Folder Assistant against one or more mailboxes or mailbox
archives. Also, it can start the Managed Folder Assistant for one more or more mailboxes.
SYNTAX
Get-LaMailboxMFA [-userprincipalname] <String[]> [-Archive] [-StartMFA] [<CommonParameters>]
DESCRIPTION
Reports on several key indicators of the Managed Folder Assistant against one or more mailboxes or mailbox
archives. Also, it can start the Managed Folder Assistant for one more or more mailboxes.
Mailbox UPNs should be passed from the pipeline as demonstrated in the examples below.
Individual mailboxes, all mailboxes, all mailboxes in a department are all possibilities.
Also demonstrated in an example below is importing mailboxes (UPNs) from a CSV
PARAMETERS
-userprincipalname <String[]>
{{UPNs passed from the pipeline}}
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
-Archive [<SwitchParameter>]
{{Reports on Archive Mailbox}}
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-StartMFA [<SwitchParameter>]
{{Actually Starts the MFA for Mailboxes passed at pipeline}}
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- EXAMPLE 1 --------------------------
Get-Mailbox -ResultSize unlimited | Select UserPrincipalName | Get-LaMailboxMFA | Out-GridView
-------------------------- EXAMPLE 2 --------------------------
Get-Mailbox -ResultSize unlimited | Select UserPrincipalName | Get-LaMailboxMFA -Archive | Export-Csv
.\\MFAstatsForARCHIVEmailbox.csv -NoTypeInformation
This command reports on the Managed Folder Assistant statistics for ARCHIVE mailboxes. Hence, the -Archive switch.
-------------------------- EXAMPLE 3 --------------------------
Get-Mailbox -identity "user01@contoso.com" | Select UserPrincipalName | Get-LaMailboxMFA -StartMFA
This command starts the Managed Folder Assistant and could be subject to Microsoft throttling
-------------------------- EXAMPLE 4 --------------------------
Get-MsolUser -All -Department 'Human Resources' | Select UserPrincipalName | Get-LaMailboxMFA -StartMFA
This command starts the Managed Folder Assistant and could be subject to Microsoft throttling
-------------------------- EXAMPLE 5 --------------------------
Get-Mailbox -ResultSize unlimited | Select UserPrincipalName | Get-LaMailboxMFA | Export-Csv .\\MFAstats.csv
-NoTypeInformation
-------------------------- EXAMPLE 6 --------------------------
Import-Csv .\\upns.csv | Get-LaMailboxMFA | Export-Csv .\\MFAstats.csv -NoTypeInformation
-------------------------- EXAMPLE 7 --------------------------
Import-Csv .\\upns.csv | Get-LaMailboxMFA | Out-GridView
-------------------------- EXAMPLE 8 --------------------------
Get-MsolUser -All -Department 'Human Resources' | Select UserPrincipalName | Get-LaMailboxMFA | Export-Csv
.\\HRsMFAstats.csv -NoTypeInformation
-------------------------- EXAMPLE 9 --------------------------
A CSV could look like this
UserPrincipalName
user01@contoso.com
user02@contoso.com
RELATED LINKS