File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ function Compare-CIPPIntuneObject {
257257 }
258258 }
259259 }
260- Default {
260+ default {
261261 if ($settingInstance.simpleSettingValue ?.value) {
262262 $label = if ($intuneObj ?.displayName) {
263263 $intuneObj.displayName
@@ -337,6 +337,9 @@ function Compare-CIPPIntuneObject {
337337 } else {
338338 $child.choiceSettingValue.value
339339 }
340+ if (! $childValue -and $child.simpleSettingValue.value ) {
341+ $childValue = $child.simpleSettingValue.value
342+ }
340343 }
341344
342345 # Add object to our temporary list
@@ -351,7 +354,7 @@ function Compare-CIPPIntuneObject {
351354 }
352355 }
353356 }
354- Default {
357+ default {
355358 if ($settingInstance.simpleSettingValue ?.value) {
356359 $label = if ($intuneObj ?.displayName) {
357360 $intuneObj.displayName
You can’t perform that action at this time.
0 commit comments