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

Request: Get-CimInstance instead of Get-WmiObject #11

Open
PLogFinder opened this issue Jul 12, 2019 · 0 comments
Open

Request: Get-CimInstance instead of Get-WmiObject #11

PLogFinder opened this issue Jul 12, 2019 · 0 comments

Comments

@PLogFinder
Copy link

This is a fabulous tool! It's helped us many times.

Are you willing to go to the trouble of changing how it works, by changing references to WimObject to CimInstance (and doing the associated syntax adjustments)?

I'm seeing Microsoft push us to use CIM in preference to WMI (deprecated, no longer supported in powershell core), eg:
https://devblogs.microsoft.com/scripting/should-i-use-cim-or-wmi-with-windows-powershell/
and
https://www.petri.com/what-is-the-difference-between-wmi-and-cim

For backward compatibility you could keep the existing capability, and have a preference item to choose output in CIM or WMI mode?

A benefit may be keeping WMI Explorer compatible with other platforms. Might need a name change... CIM Explorer or MI Explorer or something else?
https://powershell.org/2015/04/management-information-the-omicimwmimidmtf-dictionary/

For your consideration, thank you.

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

1 participant