Skip to content

Commit

Permalink
remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanefe committed Oct 3, 2024
1 parent 094a18b commit ce465af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions Calendar/CalLogHelpers/ExportToExcelFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ function GetExcelParams($path, $tabName) {
FreezeTopRow = $true
# BoldTopRow = $true
Verbose = $false
Password = "TEST"
# Password = $script:Password
TableStyle = $TableStyle
WorksheetName = $tabName
TableName = $tabName
Expand Down
5 changes: 0 additions & 5 deletions Calendar/Get-CalendarDiagnosticObjectsSummary.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,6 @@ if (-not ([string]::IsNullOrEmpty($Subject)) ) {
Write-Warning "A valid MeetingID was not found, nor Subject. Please confirm the MeetingID or Subject and try again."
}

if($ExportToExcel.IsPresent) {
Close-ExcelPackage $excel -Password "Test"
}

Write-DashLineBoxColor "Hope this script was helpful in getting and understanding the Calendar Logs.",
"More Info on Getting the logs: https://learn.microsoft.com/en-us/exchange/troubleshoot/calendars/get-calendar-diagnostic-logs",
"and on Analyzing the logs: https://learn.microsoft.com/en-us/exchange/troubleshoot/calendars/analyze-calendar-diagnostic-logs",
Expand All @@ -209,5 +205,4 @@ if ($ExportToExcel.IsPresent) {
Write-Host
Write-Host -ForegroundColor Blue -NoNewline "All Calendar Logs are saved to: "
Write-Host -ForegroundColor Yellow ".\$Filename"
Write-Host
}

0 comments on commit ce465af

Please sign in to comment.