lipkau / PsIni

Work with INI files in PowerShell using hashtables
http://lipkau.github.io/PsIni
MIT License
151 stars 50 forks source link

Issue to keep all my Sections #35

Closed Raptorzil closed 7 years ago

Raptorzil commented 7 years ago

Hi, i have a inifile like this :


[38923TECH11]   
Enabled=Y   

[38923FICHIER11]
Enabled=Y

[38923ULIS11]
Enabled=Y

But i use your function to parse it, and just echo the result of section + value of the key Enabled i obtain it :

38923ULIS11  =  Y
38923FICHIER11  =  Y
No-Section  =  Y

Do you know why my first section [38923TECH11] is replaced my "no-section"?

Raptorzil commented 7 years ago

In fact i used that function : https://gallery.technet.microsoft.com/scriptcenter/ea40c1ef-c856-434b-b8fb-ebd7a76e8d91

So it is maybe to old?

Raptorzil commented 7 years ago

Sorry i test it with you latest version, it's good :)