Skip to content

Commit

Permalink
Update RBA based of feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanefe committed Oct 4, 2024
1 parent 5d2c558 commit 2f0bfc3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Calendar/CalLogHelpers/ExportToExcelFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function LogScriptInfo {
$RunInfo | Export-Excel -Path $FileName -WorksheetName "Script Info" -MoveToEnd
$script:CollectedCmdLine = $true
}
# If someone runs the script the script again logs will update, but ScriptInfo done not update. Need to add new table for each run.
# If someone runs the script the script again logs will update, but ScriptInfo does not update. Need to add new table for each run.
}

function Export-TimelineExcel {
Expand Down
6 changes: 3 additions & 3 deletions Calendar/Get-RBASummary.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,8 @@ function RBALogSummary {

$RBALog = ((Export-MailboxDiagnosticLogs $Identity -ComponentName RBA).MailboxLog -split "`\n`\r").Trim()

Write-Host "`tFound $($RBALog.count) RBA Log entries in RBALog. Summarizing Accepts, Declines, and Tentative meetings."

if ($RBALog.count -gt 1) {
Write-Host "`tFound $($RBALog.count) RBA Log entries in RBALog. Summarizing Accepts, Declines, and Tentative meetings."
$Starts = $RBALog | Select-String -Pattern "START -"
$FirstDate = "[Unknown]"
$LastDate = "[Unknown]"
Expand Down Expand Up @@ -626,6 +625,8 @@ function RBALogSummary {
Write-Host -ForegroundColor Cyan $Filename -NoNewline
Write-Host "] in the current directory."
$RBALog | Out-File $Filename

RBAPostScript
} else {
Write-Warning "No RBA Logs found. Send a test meeting invite to the room and try again if this is a newly created room mailbox."
}
Expand Down Expand Up @@ -768,5 +769,4 @@ RBADelegateSettings
RBAPostProcessing
VerbosePostProcessing
RBALogSummary
RBAPostScript
Stop-Transcript
4 changes: 4 additions & 0 deletions docs/Calendar/Get-CalendarDiagnosticObjectsSummary.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ Get-CalendarDiagnosticObjectsSummary.ps1 -Identity $Users -MeetingID $MeetingID
```
Will create file like `.\123456_CalLogSummary_<MeetingID>.xlsx` in current directory.


More Documenation on collecting CalLogs and Analyzing them:
https://learn.microsoft.com/en-us/exchange/troubleshoot/calendars/get-calendar-diagnostic-logs
https://learn.microsoft.com/en-us/exchange/troubleshoot/calendars/analyze-calendar-diagnostic-logs

0 comments on commit 2f0bfc3

Please sign in to comment.