Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type names have incorrect case #43

Open
JamesLear92 opened this issue Apr 6, 2018 · 1 comment
Open

Type names have incorrect case #43

JamesLear92 opened this issue Apr 6, 2018 · 1 comment

Comments

@JamesLear92
Copy link

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

@DTW-DanWard
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants