-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Get-ComputerInfo : Unable to find an entry point named 'GetFirmwareType' in DLL 'kernel32.dll'." #3023
Comments
@n3l5 Thanks for bug report!
|
Given the behavior isn't there on Win7, I'm not sure what we can do other than do a better of job of erroring out. We also wouldn't ship a change for that unless we had a hypothetical WMF 5.2, though I'm not speaking here to whether that's happening or not. |
Unless there is an option to feature request a kernel fix for Win 7 to support this, can be closed out since this appears to be a kernel feature and Win 7 is on the way out. |
Thanks @n3l5! |
Isn't solution is just one |
We should wrap the api calls so this fails silently. |
Just as a point of interest, at the time this cmdlet was written the target OS was Win10. Fortunately there aren't too many native API calls, so wrapping them shouldn't be too onerous. @SteveL-MSFT I can take this one if you like. |
Perhaps it is time to start porting this cmdlet instead of doing partial fixes. It would be good to do it in Beta time. |
Making it cross-platform is a pretty big task and probably something we'd do for 6.1.0. @jeffbi it should be pretty straightforward to wraps so they |
Alpha 18 no longer crash on |
Error Message:
"Get-ComputerInfo : Unable to find an entry point named 'GetFirmwareType' in DLL 'kernel32.dll'."
Environment:
Windows Management Framework 5.1
Operating System: Windows 7 x64
Examples
The text was updated successfully, but these errors were encountered: