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

Convert-HtmlToAnsi fails on Windows PowerShell #124

Closed jdhitsolutions closed 2 years ago

jdhitsolutions commented 2 years ago

A command like this works fine in PowerShell 7.

image

but fails in Windows PowerShell image

jdhitsolutions commented 2 years ago

Need to make sure [System.Drawing] assembly is loaded.

jdhitsolutions commented 2 years ago

Updated manifest to load this assembly. This will be fixed in v2.42.0