powershell read csv file and create a json file 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