Quantcast
Viewing all articles
Browse latest Browse all 36188

PowerTip: Find Information About Attached Mice

Summary: Use Windows PowerShell to find information about mice attached to your system.

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Question
 How can I use Windows PowerShell to return information about mice on my system?

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Answer
 Query the Win32_PointingDevice WMI class. You can use the Get-WmiObject cmdlet, as shown here.

Get-WmiObject win32_pointingdevice

On Windows PowerShell 3.0, use the Get-CimInstance cmdlet, as shown here.

Get-CimInstance win32_pointingdevice

 

 Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 36188

Trending Articles