To read from a CSV file, use the Import-Csv cmdlet.
Import-Csv
To read or parse JSON in PowerShell, you can use the ConvertFrom-Json cmdlet.
ConvertFrom-Json
In PowerShell, there’s no native cmdlet to parse TOML.
XML, or eXtensible Markup Language, has been around since the late ’90s and remains a widely-used format for structured data.
PowerShell, by default, doesn’t come with a built-in cmdlet for parsing YAML, but it works seamlessly with YAML when you leverage the powershell-yaml module or convert YAML into a PowerShell object using ConvertFrom-Json in combination with a tool like yq.
powershell-yaml
yq