
Hi @Ramprasad
Why do you want to edit Edge settings through script? If you want to manage them in bulk of machines, the recommended way is using group policy. For detailed information, you can refer to this doc: Configure Microsoft Edge policy settings on Windows devices.
For example, if you want to set Edge as default browser, you can use this group policy: DefaultBrowserSettingEnabled. If you want to set IE mode sites, you can refer to this doc: Configure IE mode policies.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Regards,
Yu Zhou