Finding and replacing value in .json file using powershell

Finding and replacing value in .json file using powershell

In the above script

Routes.endpoint:./runtime.destination value is not able to read

Gopisettypradeep,
welcome the the forum.

Is there a particular question you want to ask?

If you want to learn in general about how to replace/update values in JSON data you may use your favorite internet search engine to search for help and examples. Like here:

https://www.google.com/search?q=replacing+vaule+in+JSON+with+PowerShell&oq=replacing+vaule+in+JSON+with+PowerShell&aqs=chrome..69i57.12236j0j1&sourceid=chrome&ie=UTF-8

Suggest to use foreach in rotues. (Content section)

Not striking any idea

Iā€™m still unsure what you expect. You should ask a clear question.

Regardless of that - please do not post pictures of code or sample data. Instead use the ā€œpreformatted textā€ button ( </> ) and post the plain text.

Thanks in advance

This might be overly paranoid, but there is PII in the image posted. I would remove it. My $.02

1 Like

I doubt that your concerns will be understood. :wink:

1 Like