-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Labels
SolutionSolution specialty review neededSolution specialty review needed
Description
The current version of the ESICollector contains a bug in the CollectExchSecIns.ps1 file, preventing it to run correctly.
The Set-ESIContent function is called without explicitly specifying the -Path parameter, which leads to incorrect argument binding and causes a subsequent runtime error.
Please add -Path parameter to both affected lines:
@@ -923,9 +923,9 @@
else
{
if ($Global:InstanceName -ne "Default") {
- $JSNToSave | Set-ESIContent ((Split-Path $outputpath) + "\DateTracking-$($Global:InstanceName).esi")
- }
- else { $JSNToSave | Set-ESIContent ((Split-Path $outputpath) + "\DateTracking.esi") }
+ $JSNToSave | Set-ESIContent -Path ((Split-Path $outputpath) + "\DateTracking-$($Global:InstanceName).esi")
+ }
+ else { $JSNToSave | Set-ESIContent -Path ((Split-Path $outputpath) + "\DateTracking.esi") }
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
SolutionSolution specialty review neededSolution specialty review needed