Closed ERAustin closed 4 years ago
Update-Module Testimo
Sorry about that. I've mistyped and instead of Hashtable used Scriptblock.
Thanks for the reply. I've updated to version 0.0.31 and issue remains :/
Try to regenerate json and try it please. If it works than make changes.
So interestingly enough I recreated the file and copy/pasted my configuration and that didn't work. I recreated the JSON again from scratch and imported with no changes and it worked. I'll work on recreating this. It appears to be working correctly now. Thanks!
Its related to one section in config. You can just fix that and it should work. Check the fix I did. Or simply rework it. Sorry
I’ll add some checks for future proofing.
Per the documentation here (https://evotec.xyz/what-do-we-say-to-health-checking-active-directory/) I ran the following:
Get-TestimoConfiguration -FilePath "C:\Scripts\Testimo\TestimoConfiguration.json"
I edit the json file in Notepad ++ and save it. Then I run
$ConfigurationFile = "C:\Scripts\Testimo\TestimoConfiguration.json" $TestResults = Invoke-Testimo -ReturnResults -ExtendedResults -Sources $Sources -Configuration $ConfigurationFile
and I receive this output: