jdhitsolutions / PSScriptTools

:wrench: :hammer: A set of PowerShell functions you might use to enhance your own functions and scripts or to facilitate working in the console. Most should work in both Windows PowerShell and PowerShell 7, even cross-platform. Any operating system limitations should be handled on a per command basis. The Samples folder contains demonstration script files
MIT License
875 stars 110 forks source link

New-PSFormatXML shouldn't create file on bad properties #111

Closed jdhitsolutions closed 3 years ago

jdhitsolutions commented 3 years ago

When using New-PSFormatXML, if you specify an invalid property name, the file still gets created. Either the file should not get created, because it is a pain to manually add the property, or it should create the property setting anyway.

jdhitsolutions commented 3 years ago

Fixed in v2.38.0 (f0aef37)