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 4735be7 commit 41cc557Copy full SHA for 41cc557
Modules/CIPPCore/Public/Entrypoints/Timer Functions/Start-TableCleanup.ps1
@@ -17,7 +17,7 @@ function Start-TableCleanup {
17
@{
18
DataTableProps = @{
19
Context = (Get-CIPPTable -tablename 'AuditLogSearches').Context
20
- Filter = "PartitionKey eq 'Search' and Timestamp lt datetime'$((Get-Date).AddDays(-1).ToUniversalTime().ToString('yyyy-MM-ddTHH:mm:ssZ'))'"
+ Filter = "PartitionKey eq 'Search' and Timestamp lt datetime'$((Get-Date).AddHours(-12).ToUniversalTime().ToString('yyyy-MM-ddTHH:mm:ssZ'))'"
21
First = 10000
22
Property = @('PartitionKey', 'RowKey', 'ETag')
23
}
0 commit comments