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

Azure MFA with Azure AD and RDS

Failed to setup initiator portal. Error status is given in the dump data.

Invalid pointer on gpresult /h gpreport.html