Skip to content

Compare-IntuneBackupFile does not compare sub properties #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
enoorden opened this issue Apr 19, 2019 · 2 comments
Closed

Compare-IntuneBackupFile does not compare sub properties #5

enoorden opened this issue Apr 19, 2019 · 2 comments
Assignees

Comments

@enoorden
Copy link

enoorden commented Apr 19, 2019

The Compare-IntuneBackupFile function only loops through the toplevel properties.

eg:

...
"applicationGuardForceAuditing":  false,
"applicationGuardBlockClipboardSharing":  "notConfigured",
"applicationGuardAllowPrintToPDF":  false,
"bitLockerSystemDrivePolicy":  {
    "encryptionMethod":  "xtsAes128",
    "prebootRecoveryUrl":  null,
    "recoveryOptions":  {
        "blockDataRecoveryAgent":  false,
         "recoveryPasswordUsage":  "allowed",
         "recoveryKeyUsage":  "allowed",
         "hideRecoveryOptions":  true,
         "enableRecoveryInformationSaveToStore":  true,
         "recoveryInformationToStore":  "passwordAndKey",
         "enableBitLockerAfterRecoveryInformationToStore":  true
     }
},
...

in given example, everything under bitLockerSystemDrivePolicy is ignored for comparison.
would be nice if it could loop through nested properties as well

@jseerden jseerden self-assigned this Apr 23, 2019
@jseerden
Copy link
Owner

Thanks for opening this issue. Will look into this.

jseerden pushed a commit that referenced this issue Apr 29, 2019
@jseerden
Copy link
Owner

This issue is fixed in the v1.3.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants