3 ms·
Probably better to write this with the standard alias's so people don't complain about verbosity: gc ./something.yml | ConvertFrom-Yaml | ConvertTo-Json > /s
by vips7L 4y ago
Probably better to write this with the standard alias's so people don't complain about verbosity:
gc ./something.yml | ConvertFrom-Yaml | ConvertTo-Json > /some/file.json
Also I don't think ConvertFrom-Yaml actually exists as a standard cmdlet.