{"id":3783,"date":"2013-04-20T11:59:00","date_gmt":"2013-04-20T11:59:00","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/2013\/04\/20\/powertip-use-powershell-to-detect-mouse-type-used-on-laptop\/"},"modified":"2013-04-20T11:59:00","modified_gmt":"2013-04-20T11:59:00","slug":"powertip-use-powershell-to-detect-mouse-type-used-on-laptop","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-use-powershell-to-detect-mouse-type-used-on-laptop\/","title":{"rendered":"PowerTip: Use PowerShell to Detect Mouse Type Used on Laptop"},"content":{"rendered":"<p><strong style=\"font-size: 12px\">Summary<\/strong><span style=\"font-size: 12px\">: Use Windows PowerShell and WMI to detect the type of mouse that is being used on a laptop running Windows&nbsp;8.<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/q-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Question\" \/>&nbsp;How can I find information about the type of mice that are being used in conjunction with my laptop that is running Windows&nbsp;8?<\/p>\n<p style=\"padding-left: 60px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/a-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Answer\" \/>&nbsp;Depending on the mouse, you may be able to obtain the information by using the&nbsp;<strong>Get-CimInstance<\/strong>&nbsp;cmdlet and the Win32_PointingDevice WMI class. Select the&nbsp;<strong>HardwareType<\/strong>&nbsp;property.<\/p>\n<p style=\"padding-left: 90px\"><strong>Note<\/strong>&nbsp;&nbsp;The following illustrates this technique on my laptop.<\/p>\n<p style=\"padding-left: 150px\">PS C:\\&gt; Get-CimInstance win32_POINTINGDEVICE | select hardwaretype<\/p>\n<p style=\"padding-left: 150px\">hardwaretype<\/p>\n<p style=\"padding-left: 150px\">&#8212;&#8212;&#8212;&#8212;<\/p>\n<p style=\"padding-left: 150px\">ThinkPad UltraNav Pointing Device<\/p>\n<p style=\"padding-left: 150px\">Microsoft Wireless Laser Mouse 8000 (IntelliPoint)<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/7610.Dr.ScriptoForTips.jpg\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/7610.Dr.ScriptoForTips.jpg\" alt=\"\" border=\"0\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: Use Windows PowerShell and WMI to detect the type of mouse that is being used on a laptop running Windows&nbsp;8. &nbsp;How can I find information about the type of mice that are being used in conjunction with my laptop that is running Windows&nbsp;8? &nbsp;Depending on the mouse, you may be able to obtain the [&hellip;]<\/p>\n","protected":false},"author":596,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[356,3,45],"class_list":["post-3783","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting","tag-powertip","tag-scripting-guy","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>Summary: Use Windows PowerShell and WMI to detect the type of mouse that is being used on a laptop running Windows&nbsp;8. &nbsp;How can I find information about the type of mice that are being used in conjunction with my laptop that is running Windows&nbsp;8? &nbsp;Depending on the mouse, you may be able to obtain the [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/3783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/users\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=3783"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/3783\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media\/87096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media?parent=3783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=3783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=3783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}