EvotecIT / Testimo

Testimo is a PowerShell module for running health checks for Active Directory against a bunch of different tests
MIT License
519 stars 55 forks source link

Get-TestimoConfiguration fails after update to 0.0.83 #171

Closed LemurTech closed 1 year ago

LemurTech commented 1 year ago

Hi! On two different machines I am unable to load the configuration for modification using Get-TestimoConfiguration. This is on 0.0.83. The error is "Cannot index into a null array". "invoke-testimo" works, as long as any custom configuration is not passed.

PS C:\Windows\system32> import-module Testimo -force PS C:\Windows\system32> Get-TestimoConfiguration Get-TestimoConfiguration : Cannot index into a null array. At line:1 char:1

PS C:\Windows\system32> invoke-testimo [i][Testimo] Version [Informative] [Current/Latest: 0.0.83 at 07/29/2022 03:53:41] [i][Testimo] Using configuration defaults [Informative] [No configuration provided by user] [i][Testimo] Following sources will be used [Valid Sources] [ForestBackup, ForestDHCP, ForestReplication, ForestReplicat ionStatus, ForestOptionalFeatures, ForestSites, ForestSiteLinks, ForestSiteLinksConnections, ForestRoles, ForestRootKDS, ForestSubnets, ForestOrphanedAdmins, ForestTombstoneLifetime, ForestTrusts, ForestConfigurationPartitionOwners, ForestC onfigurationPartitionOwnersContainers, ForestDuplicateSPN, ForestVulnerableSchemaClass, DomainLDAP, DomainMachineQuota,

PrzemyslawKlys commented 1 year ago

FacepalmReallyGIF

LemurTech commented 1 year ago

It's like having Monday twice in one week!

LemurTech commented 1 year ago

Please please please, if you could get this one on your schedule. The ability to turn on/off configurations is so crucial to our current auditing, and this set of checks is just so incredible. :o(

PrzemyslawKlys commented 1 year ago

Will do, i did check it, but it requires some rebuild. Amount of changes I did to support DSC comparison , O365 and AD are causing this I guess.

LemurTech commented 1 year ago

Understood. I appreciate the update, and all your stellar work. You've helped me do things faster and better than I could have hoped for otherwise. You're an unsung hero! Now if only I could pronounce your name... :)

PrzemyslawKlys commented 1 year ago

Przemek (Shemek) as most people call me.

LemurTech commented 1 year ago

You, sir, are a Gentleman and a Scholar! Many thanks!