We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aa6f23 commit 6d118b7Copy full SHA for 6d118b7
Modules/CIPPCore/Public/Entrypoints/Orchestrator Functions/Start-AuditLogOrchestrator.ps1
@@ -15,7 +15,7 @@ function Start-AuditLogOrchestrator {
15
$TenantList = Get-Tenants -IncludeErrors
16
# Round time down to nearest minute
17
$Now = Get-Date
18
- $StartTime = ($Now.AddSeconds(-$Now.Seconds)).AddMinutes(-30)
+ $StartTime = ($Now.AddSeconds(-$Now.Seconds)).AddHours(-1)
19
$EndTime = $Now.AddSeconds(-$Now.Seconds)
20
21
if (($AuditLogSearches | Measure-Object).Count -eq 0) {
0 commit comments