PowerShell-Beautifier
PowerShell-Beautifier copied to clipboard
Type names have incorrect case
Hello there, I had a quick look into the script, and it appears that the accelorator/type names are found using:
[psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::get
However, if you look into the hashtable that this returns, the casing is correct: $Table = [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::get $Table.Keys | % {$Table[$_] | select Name, BaseType}
Maybe it would be better to use these values
Sure, I can check that out this weekend. Are there any particular types that are causing issues for you? I will add them to my test cases.