PowerTip: Use PowerShell to Detect Mouse Type Used on Laptop

Doctor Scripto

Summary: Use Windows PowerShell and WMI to detect the type of mouse that is being used on a laptop running Windows 8.

Hey, Scripting Guy! Question How can I find information about the type of mice that are being used in conjunction with my laptop that is running Windows 8?

Hey, Scripting Guy! Answer Depending on the mouse, you may be able to obtain the information by using the Get-CimInstance cmdlet and the Win32_PointingDevice WMI class. Select the HardwareType property.

Note  The following illustrates this technique on my laptop.

PS C:\> Get-CimInstance win32_POINTINGDEVICE | select hardwaretype



ThinkPad UltraNav Pointing Device

Microsoft Wireless Laser Mouse 8000 (IntelliPoint)


Discussion is closed.

Feedback usabilla icon