-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error for Get-Device #3
Comments
Same, for fresh install. Windows 10/PowerShell 7.2.11 |
Same thing. Even if i try to filter on certain devices. |
Did you try running it with admin privileges? I need to check but it may require elevation to get read access. |
Yes, I did, for me this did not help. @TobiasPSP |
I‘ll investigate today, too. At publishing time, this obviously worked for me. Did you ever use it with PowerShell 5 where it was originally created? |
I've tried it with PS5.1 (admin mode); it produces the same error:
|
I just reinstalled the module on a test system running Windows 10. Both examples work as expected. I am displaying below only the first 10 results to not overflow the thread, but I can confirm that without that limitation, still all information is outputted without errors:
Since I cannot repro the case right now, let's brainstorm:
|
I ran the commands as non-elevated user BTW. Admin privs are not required. |
@TobiasPSP Thanks for the confirmation that it should work.
I did not reboot my pc (not that it would logically matter, but i want to accentuate how the state of my system did not change).
|
Not that I am aware of, hèh. Everything should work as expected (if you want i could post devcon output in a PM, but i believe everything is OK) |
Get-Device | Out-GridView
Gives:
Get-Device: Error calling SetupDiGetDeviceProperty()
The text was updated successfully, but these errors were encountered: