Having the following app.config:
<configuration>
<appSettings>
<add key="filepath" value="D:\Data" />
<add key="node2" value="..." />
...
</appSettings>
</configuration>
I want to replace the setting that has ‘filepath’ key with a new value (by replacing ‘D:\Data..’ in this case). The new value should be passed as a parameter to the powershell script. Thanks
Update based on the comment:
===========================================================================================
OLD ANSWER
or