Thank you for explaining how to build the required hash table.
I been missing that point.
Hope this will help someone.
It is likely that the Get-Configuration an the code you are suggesting originate from the Dev Blog :
https://devblogs.microsoft.com/scripting/use-powershell-to-work-with-any-ini-file/
Where everything is explained in great detail.