powershell convert csv to json code example
Example: convert csv to json powershell code
Get-Content -path source.csv | ConvertFrom-Csv -Delimiter ',' | ConvertTo-Json | Out-File output.json
Get-Content -path source.csv | ConvertFrom-Csv -Delimiter ',' | ConvertTo-Json | Out-File output.json