-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Not sure what's causing this, but this keeps showing up. Search appears to work just fine.
I think I'd like a way to kill off the 'progress bar' because I'm wanting to run this in a script.
here's what I'm running currently:
$startdate = Get-Date -Year 2021 -Month 07 -Day 11 -Hour 00 -Minute 00 -Second 00
$enddate = Get-Date -Year 2021 -Month 07 -Day 11 -Hour 00 -Minute 15 -Second 00
Start-SearchJob -Query "_collector=""""" -From $startdate -To $enddate | Get-SearchResult -Type Message | Out-File -FilePath "./result.txt"
Line |
102 | … $title -Status $text -PercentComplete ($processedMs / $totalMs * 100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot validate argument on parameter 'PercentComplete'. The -1500 argument is less than the minimum allowed range of -1. Supply an argument that is greater
| than or equal to -1 and then try the command again.