Added a counter for current mailbox
This commit is contained in:
1 parent
3a08ff76a7
commit
1f7e50e804
1 file changed
+1
-1
@@ -28,7 +28,7 @@ foreach ($Mailbox in $Mailboxes) {
|
||||
$OverallPercentComplete = [math]::Round((($CurrentMailbox - 1 + ($MailboxPercentComplete / 100)) / $TotalMailboxes) * 100, 2)
|
||||
|
||||
# Display Progress Bar for Overall Process
|
||||
Write-Progress -Activity "Exporting Mailboxes" `
|
||||
Write-Progress -Activity "Exporting Mailboxes ($($CurrentMailbox)/$($TotalMailboxes))" `
|
||||
-Status "Processing: $($Mailbox.Alias) ($MailboxPercentComplete% complete)" `
|
||||
-PercentComplete $OverallPercentComplete
|
||||
} while ($ExportRequest)
|
||||
|
||||
Reference in new issue
Block a user