From a 700MB json file, how to I list all the keys in Powershell
I tried $obj = [System.IO.File]::ReadLines((Convert-Path -LiteralPath names.json)) | ConvertFrom-Json $keys = @() foreach ($key in $obj.GetEnumerator()) { $keys += $key.Key } Write-Output $keys But after over 24 hours it had not completed. I need the key names so I can…