Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Detect Mouse Type Used on Laptop

$
0
0

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

hardwaretype

------------

ThinkPad UltraNav Pointing Device

Microsoft Wireless Laser Mouse 8000 (IntelliPoint)


Viewing all articles
Browse latest Browse all 3333

Trending Articles