I have a json file which has the below content. I want to iterate through each item (using foreach loop) in Powershell. How can I do it?
{
"abc": {
"isSecret": null,
"value": "'167401'"
},
"dar": {
"isSecret": null,
"value": "8980"
},
"hgt": {
"isSecret": null,
"value": "893240"
},
"newvar1": {
"isSecret": null,
"value": "newvalue1"
},
"var": {
"isSecret": null,
"value": "1230"
}
}
ConvertFrom-Json.convertfrom-json -AsHashtable