lipkau / PsIni

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

Writing new section and values? #64

Open alembic772 opened 2 years ago

alembic772 commented 2 years ago

I will admit, I am a novice with Powershell and such... I am trying to write out settings to an INI file, but there are times when there are sections and keys that are not in the INI file, and the output command generates an error that I am putting something into a null array.... Can anyone give me some advice on how to handle this?

lipkau commented 2 years ago

can you give more details, please? how are you constructing the object you are trying to write as ini?