Add lines in a section in INI file in powershell


hello,

i trying automate task using powershell. 1 of modules of script brings ini proper format. have section called
[microsoft visio viewer 2013.dat]
source=%programfilesdir%\internet explorer\iexplore.exe
;change readonlydata bin\package.ro.tvr build old versions(4.6.0 or earlier) of tools
readonlydata=package.ro.tvr
disabled=1
metadatacontaineronly=1

i wish add line below [microsoft visio viewer 2013.dat] line. there more or less similar sections above , need achieve same task them well. how can done ?


here ini file edit commands built windows:

https://gallery.technet.microsoft.com/edit-old-fashioned-ini-f8fbc067

read instructions carefully.


\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Group policy default policy cannot be edited because network name not found

Problem when changing update source