{"id":7251,"date":"2007-09-15T10:23:18","date_gmt":"2007-09-15T10:23:18","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2007\/09\/15\/documentation-one-liner\/"},"modified":"2019-02-18T13:16:31","modified_gmt":"2019-02-18T20:16:31","slug":"documentation-one-liner","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/documentation-one-liner\/","title":{"rendered":"Documentation One Liner"},"content":{"rendered":"<p>I&#8217;m constantly amazed and delighted by what people are able to do with a single line of PowerShell.  The System Center Virtual Machine Manager (SCVMM) team just released a PowerShell Cmdlet Reference <a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyID=643c96ac-ab5c-4470-bd03-f32981bc3013&amp;displaylang=en\">HERE<\/a>.   That is cool \u2013 it allows anyone to go take a look at their Cmdlets to either get a better idea for what SCVMM does (or how it does it) or to learn from how they did their cmdlets.  I encourage everyone that ships cmdlets to do something similar.  That might seem like a big ask until you look at how they produced their documentation:\n<\/p>\n<p><span style=\"font-family:Consolas;font-size:10pt\"><strong>Get-Command -PSSnapin VirtualMachineManagerSnapin | Sort-Object Noun, Verb | Get-Help -detailed &gt; VMMHelpTopicsSortedNounVerb.txt\n<\/strong><\/span><\/p>\n<p>They then imported that into WORD and added an Introduction and Table of Contents.\n<\/p>\n<p>Simply amazing!   It&#8217;s actually obvious once you see it but I hadn&#8217;t thought about this before.  That is the power of having lots of smart people sharing their ideas.\n<\/p>\n<p>So what are you waiting for?  Take a minute and produce a Cmdlet Reference for your product and post it on the Web.  (Put a link to the document as a comment to this thread so people can find it.)  Also  &#8211; have you got a great script or one-liner that you are using but haven&#8217;t shared with the world yet?  Improve the world by sharing it.\n<\/p>\n<p>Cheers!\n<\/p>\n<p>Jeffrey Snover [MSFT]<br \/>Windows Management Partner Architect<br \/>Visit the Windows PowerShell Team blog at:    <a href=\"http:\/\/blogs.msdn.com\/PowerShell\">http:\/\/blogs.msdn.com\/PowerShell<\/a><br \/>Visit the Windows PowerShell ScriptCenter at:  <a href=\"http:\/\/www.microsoft.com\/technet\/scriptcenter\/hubs\/msh.mspx\">http:\/\/www.microsoft.com\/technet\/scriptcenter\/hubs\/msh.mspx<\/a>\n\t<\/p>\n<p>\n\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m constantly amazed and delighted by what people are able to do with a single line of PowerShell. The System Center Virtual Machine Manager (SCVMM) team just released a PowerShell Cmdlet Reference HERE. That is cool \u2013 it allows anyone to go take a look at their Cmdlets to either get a better idea for [&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":[],"class_list":["post-7251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell"],"acf":[],"blog_post_summary":"<p>I&#8217;m constantly amazed and delighted by what people are able to do with a single line of PowerShell. The System Center Virtual Machine Manager (SCVMM) team just released a PowerShell Cmdlet Reference HERE. That is cool \u2013 it allows anyone to go take a look at their Cmdlets to either get a better idea for [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/7251","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=7251"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/7251\/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=7251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=7251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=7251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}