{"id":1915,"date":"2016-09-01T17:40:35","date_gmt":"2016-09-01T17:40:35","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=1915"},"modified":"2016-09-01T17:40:59","modified_gmt":"2016-09-01T17:40:59","slug":"powershell-get-a-gui-interface-for-any-powershell-cmdlet","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=1915","title":{"rendered":"PowerShell: Get a GUI interface for any PowerShell cmdlet"},"content":{"rendered":"<p>Some cmdlets have too many parameters to list. Is there an easy way to build a cmdlet with its parameters for the console?<\/p>\n<p>Just use the <strong>Show-Command<\/strong> cmdlet with any PowerShell cmdlet to get a GUI interface. In the following example, we use this with the <strong>Import-MDTDriver<\/strong> cmdlet.<\/p>\n<p>When you are done, you will have three options:\u00a0<strong>Run<\/strong>, <strong>Copy<\/strong> (for the clipboard), or <strong>Cancel<\/strong>.<\/p>\n<h3><em><strong><code>Show-Command Import-MDTDriver<\/code><\/strong><\/em><\/h3>\n<p>&nbsp;<\/p>\n<p>GUI Examples:<\/p>\n<p><a href=\"http:\/\/microsoftgeek.com\/?attachment_id=1917#main\" rel=\"attachment wp-att-1917\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1917\" src=\"http:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/09\/PS-1.png\" alt=\"PS-1\" width=\"366\" height=\"593\" srcset=\"https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/09\/PS-1.png 366w, https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/09\/PS-1-185x300.png 185w\" sizes=\"auto, (max-width: 366px) 100vw, 366px\" \/><\/a> <a href=\"http:\/\/microsoftgeek.com\/?attachment_id=1916#main\" rel=\"attachment wp-att-1916\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1916\" src=\"http:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/09\/PS-2.png\" alt=\"PS-2\" width=\"366\" height=\"593\" srcset=\"https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/09\/PS-2.png 366w, https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/09\/PS-2-185x300.png 185w\" sizes=\"auto, (max-width: 366px) 100vw, 366px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some cmdlets have too many parameters to list. Is there an easy way to build a cmdlet with its parameters for the console? Just use the Show-Command cmdlet with any PowerShell cmdlet to get a GUI interface. In the following example, we use this with the Import-MDTDriver cmdlet. When you are done, you will have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59],"tags":[],"class_list":["post-1915","post","type-post","status-publish","format-standard","hentry","category-powershell"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1915"}],"version-history":[{"count":2,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1915\/revisions"}],"predecessor-version":[{"id":1919,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1915\/revisions\/1919"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}