File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -290,10 +290,10 @@ function Compare-CIPPIntuneObject {
290290 } elseif (-not $val1IsEmpty -or -not $val2IsEmpty ) {
291291 # One side is null/empty, the other is not - report as difference
292292 $result.Add ([PSCustomObject ]@ {
293- Property = $newPath
294- ExpectedValue = if ($null -eq $val1 ) { ' ' } else { $val1 }
295- ReceivedValue = if ($null -eq $val2 ) { ' ' } else { $val2 }
296- })
293+ Property = $newPath
294+ ExpectedValue = if ($null -eq $val1 ) { ' ' } else { $val1 }
295+ ReceivedValue = if ($null -eq $val2 ) { ' ' } else { $val2 }
296+ })
297297 }
298298 } catch {
299299 throw
@@ -304,10 +304,10 @@ function Compare-CIPPIntuneObject {
304304 $valIsEmpty = ($null -eq $val -or $val -eq ' ' -or ($val -is [Array ] -and $val.Count -eq 0 ))
305305 if (-not $valIsEmpty ) {
306306 $result.Add ([PSCustomObject ]@ {
307- Property = $newPath
308- ExpectedValue = $val
309- ReceivedValue = ' '
310- })
307+ Property = $newPath
308+ ExpectedValue = $val
309+ ReceivedValue = ' '
310+ })
311311 }
312312 } catch {
313313 throw
@@ -318,10 +318,10 @@ function Compare-CIPPIntuneObject {
318318 $valIsEmpty = ($null -eq $val -or $val -eq ' ' -or ($val -is [Array ] -and $val.Count -eq 0 ))
319319 if (-not $valIsEmpty ) {
320320 $result.Add ([PSCustomObject ]@ {
321- Property = $newPath
322- ExpectedValue = ' '
323- ReceivedValue = $val
324- })
321+ Property = $newPath
322+ ExpectedValue = ' '
323+ ReceivedValue = $val
324+ })
325325 }
326326 } catch {
327327 throw
You can’t perform that action at this time.
0 commit comments