{"id":10091,"date":"2006-06-29T12:42:00","date_gmt":"2006-06-29T12:42:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2006\/06\/29\/listing-all-the-com-automation-progids\/"},"modified":"2019-02-18T13:21:35","modified_gmt":"2019-02-18T20:21:35","slug":"listing-all-the-com-automation-progids","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/listing-all-the-com-automation-progids\/","title":{"rendered":"Listing all the COM automation PROGIDs"},"content":{"rendered":"<p>&lt;edited 7\/2\/2006 to add categories and PSMDTAGs&gt;<\/p>\n<p>Windows PowerShell allows you to program against COM automation.&nbsp; The typical way to do this is :<\/p>\n<p><font face=\"Courier New\" size=\"2\">$x = new-ojbect -ComObject &lt;PROGID&gt;<\/font><\/p>\n<p>The question then is, how do I know what progids I can use.&nbsp; Here are there&nbsp;3 answers<\/p>\n<ol>\n<li>You&#8217;ll know because someone (an article, a script, a blog entry, a friend) gave it to you.\n<li>Divine inspiration\n<li>Be on the same Mailing list as Riedwaan Bassadien .&nbsp; <\/li>\n<\/ol>\n<p>I&#8217;m lucky enough to be in category 3 so I&#8217;ll share a one-liner based upon Riedwaan&#8217;s recent email.<\/p>\n<p><font size=\"2\"><font face=\"Courier New\">dir &nbsp;REGISTRY::HKEY_CLASSES_ROOT\\CLSID -include PROGID -recurse | foreach {$_.GetValue(&#8220;&#8221;)}<\/font><br \/><\/font><\/p>\n<p>Thanks Riedwaan!<\/p>\n<p>Enjoy!<br \/>Jeffrey Snover<br \/>Windows PowerShell Architect<\/p>\n<p>&nbsp;<\/p>\n<p>PSMDTAG:FAQ: How do I know what COM progids I can use?<br \/>PSMDTAG:TYPE:COM progids<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&lt;edited 7\/2\/2006 to add categories and PSMDTAGs&gt; Windows PowerShell allows you to program against COM automation.&nbsp; The typical way to do this is : $x = new-ojbect -ComObject &lt;PROGID&gt; The question then is, how do I know what progids I can use.&nbsp; Here are there&nbsp;3 answers You&#8217;ll know because someone (an article, a script, a [&hellip;]<\/p>\n","protected":false},"author":600,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[10,31],"class_list":["post-10091","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-faq","tag-typecom"],"acf":[],"blog_post_summary":"<p>&lt;edited 7\/2\/2006 to add categories and PSMDTAGs&gt; Windows PowerShell allows you to program against COM automation.&nbsp; The typical way to do this is : $x = new-ojbect -ComObject &lt;PROGID&gt; The question then is, how do I know what progids I can use.&nbsp; Here are there&nbsp;3 answers You&#8217;ll know because someone (an article, a script, a [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/10091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/600"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=10091"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/10091\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=10091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=10091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=10091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}