Phil-Factor / PSYaml

A Powershell module to convert YAML documents to and from PowerShell objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ConvertTo-Yaml Invalid cmdlet names

moohem opened this issue · comments

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.