Examples/update-ini.ps1

# reconstitute a Hashtable from INI file and read a value

$content = Get-IniContent .\settings.ini | Set-IniContent -Sections 'category2' -NameValuePairs 'key4=newvalue4'
$content["category2"]["key4"]