{"id":8186,"date":"2021-11-26T14:44:26","date_gmt":"2021-11-26T14:44:26","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=8186"},"modified":"2021-11-26T14:44:49","modified_gmt":"2021-11-26T14:44:49","slug":"wmic-diskdrivefind-i-ssdnul","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/wmic-diskdrivefind-i-ssdnul\/30244.html","title":{"rendered":"Wmic DISKDRIVE|Find \/I SSDnul"},"content":{"rendered":"<p>I discovered a tool I found that detects an SSD drives by drive letter does not work on AHCI Enhanced Host Controller Interface&#8217;s so I am back to the drawing board \ud83d\ude41 I did find that wmic is capable but I do not know how to format the search to be for a specific drive letter ? I have tried some of the following but to no avail.<\/p>\n<p>wmic idecontroller|find \/i &#8220;ahci&#8221;&gt;nul &amp;&amp; echo AHCI detected<\/p>\n<p>wmic DISKDRIVE|find \/i &#8220;SSD&#8221;&gt;nul &amp;&amp; echo SSD detected<\/p>\n<p>wmic DISKDRIVE list|find \/i &#8220;SSD&#8221;&gt;nul &amp;&amp; echo SSD detected<\/p>\n<p>wmic logicaldisk get caption=C:|find \/i &#8220;C:&#8221;&gt;nul find \/i &#8220;SSD&#8221;&gt;nul &amp;&amp; echo SSD detected<\/p>\n<p>My problem is that their are 2 captions in 2 separate types logicaldisk and diskdrive !!!<\/p>\n<p>So I want to search logicaldisk for C: drive and find if under DISKDRIVE it equals an SSD<\/p>\n<p>I have managed to find both things under seperate searches but not combined and for just C: or D: etc as want to do the searches independently.<\/p>\n<p>Michelle xoxoxo<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":2},"question-category":[55],"question_tags":[],"class_list":["post-8186","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/8186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=8186"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=8186"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=8186"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=8186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}