Private/Migration/Invoke-GetMailboxMovePassThru.ps1

Function Invoke-GetMailboxMovePassThru {
    [CmdletBinding()]
    param
    (
        [Parameter()]
        [switch]
        $IncludeCompleted
    )

    if ($IncludeCompleted) {
        Invoke-GetMailboxMove | Out-GridView -Title "All mailbox moves" -OutputMode Multiple
    }
    else {
        Invoke-GetMailboxMove -NotCompleted | Out-GridView -Title "All mailbox moves that are not yet complete" -OutputMode Multiple
    }
}