I\'m parsing simple (no sections) INI file in PowerShell. Here code I\'ve came up with, is there any way to simplify it?
convertfrom-stringdata -StringData (
nini looks like a library ... not sure for powershell
powershell crash
first step
[void][system.reflection.assembly]::loadfrom("nini.dll") (refer add-type now in ps2 )
after you can use it
$iniwr = new-object nini.config.iniconfigsource("...\ODBCINST.INI") $iniwr.Configs et boom