question

Dahinaan avatar image
0 Votes"
Dahinaan asked Dahinaan commented

Remove node from json

93022-book.txt


I have attached json where I want to remove the node main and add again, I have done the operation separately and its doing fine but when I use same json to delete Main folder(node) and re-add same node again then I get ambiguity that it already exists, I have used set-content or out-file still the prob is there
(Main contain 2 child Ann and Eric, I am deleting Main with all nested child and re-add only Main)

windows-server-powershell
book.txt (2.4 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Can you help to post your script?

0 Votes 0 ·

script posting not possible due to security reason, I have added json file that you can use and only remove node 'Main' and add again without sub nodes

0 Votes 0 ·

0 Answers