Hi there:
Found a small issue in CovertTo-Yaml.ps1:
# if it is null return null
If ( !($inputObject) )
Should be:
# if it is null return null
If ( $inputObject -eq $null )
Reason:
If the object itself is "$false", it will return an empty yaml value
How to reproduce:
$test = [PSCustomObject]@{TestValue = $false }
ConvertTo-Yaml $test