There are a couple of reasons to start using Get-CimInstance instead of Get-WMIObject but I am just going to mention 2 and show you a video of what i am talking about
- If run get-wmiobject remotely uses DCOM ports by default and you should not like and I am 100 sure your network and security guys hate that. Now if you use Get-CimInstance it connects to the remote computer over the wsman protocol, it will use port 5985 by default
2. Get-CimInstance have tab completion, what this means I dont have to remember by heart every class name nor every namespace. The video will show you what I am referring to
Get-CIMInstance was introduced PowerShell V3.