PSYaml
PSYaml copied to clipboard
ConvertTo-Yaml Invalid cmdlet names
Looks like a find/replace gone awry in ConvertTo-Yaml.ps1. Multiple references to Select-Object-Object and Where-Object-Object cmdlets which of course do not exist.
This was fixed here some time back. I originally used a SELECT alias but someone seemed to prefer the full cmdlet. Unfortunately, the version by someone else who put it on the powerShell gallery has got the faulty code. It looks like whoever did it doesn't test code before they check it in.