{"id":579,"date":"2010-02-23T12:22:09","date_gmt":"2010-02-23T17:22:09","guid":{"rendered":"http:\/\/jdhitsolutions.com\/blog\/2010\/02\/powershell-picasso\/"},"modified":"2010-02-23T12:22:09","modified_gmt":"2010-02-23T17:22:09","slug":"powershell-picasso","status":"publish","type":"post","link":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/","title":{"rendered":"PowerShell Picasso"},"content":{"rendered":"<p><a href=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/02\/powershellpicasso.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; margin: 0px 5px 5px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"powershell--picasso\" border=\"0\" alt=\"powershell--picasso\" align=\"left\" src=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/02\/powershellpicasso_thumb.jpg\" width=\"185\" height=\"244\" \/><\/a> <\/p>\n<p>You have probably heard the story (or legend) about <a title=\"Visit Wikipedia to learn more\" href=\"http:\/\/en.wikipedia.org\/wiki\/Pablo_Picasso\" target=\"_blank\">Pablo Picasso<\/a> and his napkin drawing. A guy goes up to Picasso in a cafe and asks for an autograph or something. Picasso sketches out something in a minute or so. He turns to the guy and says, \u201cThat will be $10,000&quot;.\u201d&#160; The guy is stunned and replies \u201cIt only took you a minute!\u201d. To which Picasso replies, \u201cYes, but it took a lifetime of experience.\u201d<\/p>\n<p>By now you\u2019re wondering what this has to do with Windows PowerShell. Well, the reason Picasso could create a masterpiece in minutes on a napkin was because he already knew all the rules and knew how to apply them in the most efficient manner possible. Because he already knew \u201cthe long way\u201d to do something, he was able to take a \u201cshortcut\u201d. I\u2019m simplifying a bit to make my PowerShell analogy so stick with me.<\/p>\n<p> <!--more-->  <\/p>\n<p>There are several reasons I\u2019m bringing this up, but primarily I want to see PowerShell adopted and spread throughout the enterprise. What I\u2019m afraid of is that new-comers will see somebody\u2019s napkin-based PowerShell script and think that\u2019s pretty easy only to find out it is a lot more difficult.&#160; You try copying a Picasso line drawing freehand.<\/p>\n<p>Specifically, I\u2019m referring to what I would like to see as a best practice regarding PowerShell writing and publishing. My first rule is to always use full cmdlet names and parameters in any PowerShell example. No aliases. Although there are a few exceptions which I\u2019ll talk about in a moment. My reasoning for this rule is two-fold.&#160; First, if you are writing a production script, there is no performance penalty for using full cmdlet names and parameters. In fact, there is a minor performance hit when using aliases because PowerShell has to resolve the alias. Cmdlet and parameter names are long, but at least they are meaningful. And when you come back to a script in a year, or when your successor with very little PowerShell experience has to update it, having plain-PowerShell language makes this much easier.<\/p>\n<p>Even if you are posting a PowerShell example that will be run at the command line, I encourage you to use full names. Again, some brand new to PowerShell will likely be a little frustrated trying to figure out what this means:<\/p>\n<p><font color=\"#0000ff\" size=\"2\" face=\"Courier New\">ps | ? {$_.ws -gt 10mb} | %{ $_.path} | select -unique | sort -des<\/font><\/p>\n<p>But if you use the full PowerShell syntax, it\u2019s a little easier to swallow.<\/p>\n<p><font color=\"#0000ff\" size=\"2\" face=\"Courier New\">get-process | Where-Object {$_.WorkingSet -gt 10MB} | ForEach-Object {Write-Output $_.path} | Select-Object -Unique | Sort-Object -Descending<\/font><\/p>\n<p>Once someone acquires some PowerShell experience, they can use the shortcuts in the console. I\u2019m all for that. If you are running PowerShell as an interactive management shell, then by all means take advantage of every PowerShell shortcut to save on typing. But when sharing PowerShell knowledge, the same is counter-productive. With features like tab completion this should hardly be a tedious task.<\/p>\n<p>As I mentioned, I have a few exceptions about the no alias rule that really boil down to common sense. Given a modicum of Windows experience, don\u2019t use any alias that isn\u2019t plain English or beyond basic experience.&#160; Thus, I don\u2019t have too much of a problem using DIR in an example. Yes, it is an alias for <a title=\"Get online help\" href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=113308\" target=\"_blank\">Get-ChildItem<\/a>, but it is also such a common term that there\u2019s no mystery. Compare that to aliases like gsv, clhy or nal. Yes, you can take the time to figure them out, but wouldn\u2019t it be much easier to learn PowerShell with the full names of <a title=\"get online help\" href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=113332\" target=\"_blank\">Get-Service<\/a>, <a title=\"Get online help\" href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=135199\" target=\"_blank\">Clear-History<\/a>, and <a title=\"Get online help\" href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=113352\" target=\"_blank\">New-Alias<\/a>?<\/p>\n<p>That said, if you need to use DIR with any number of parameters, then I would suggest using the full cmdlet name. A PowerShell example like this isn\u2019t difficult to understand:<\/p>\n<p><font color=\"#0000ff\" size=\"2\" face=\"Courier New\">dir C:\\temp<\/font><\/p>\n<p>But as soon as you start increasing the complexity, the DIR command starts looking less like the DIR command an admin is familiar with it. <\/p>\n<p><font color=\"#0000ff\" size=\"2\" face=\"Courier New\">dir c:\\temp -fi *.xml -for \u2013rec<\/font><\/p>\n<p>I\u2019d rather see it expressed more completely.<\/p>\n<p><font color=\"#0000ff\" size=\"2\" face=\"Courier New\">get-childitem \u2013path c:\\temp \u2013filter *.xml \u2013force -recurse<\/font><\/p>\n<p>My other concern regarding what I see in the community is the approach of PowerShell as a scripting language. Now don\u2019t get me wrong. PowerShell as a scripting language and support for using&#160; .NET objects directly is incredible stuff. But again, I come back to the young admin trying to see what PowerShell is all about and they come across a complex PowerShell example importing .NET assemblies, invoking methods directly and generally rising (in my opinion) to the level of systems programming. That\u2019s not what admins need to see and I\u2019d argue it is next to impossible to learn PowerShell from such examples. If you publish these types of examples, all I ask is that you explain that this is high-level stuff that can\u2019t be accomplished using standard PowerShell cmdlets.<\/p>\n<p>Which brings me to the end of today\u2019s art of PowerShell lesson. Windows PowerShell is an rich, object-based interactive management shell. You combine one or more commands in a pipelined expression and do something useful. For more complex or repetitive tasks you can take the same commands you would type at the PS prompt and put them in a plain text script file.<\/p>\n<p>While I respect the many PowerShell Picassos in the community, and we\u2019re fortunate to have them, keep in mind that very few people can pick up Windows PowerShell and create masterpieces on the back of a napkin.&#160; But they can take a clear and unambiguous example to learn from and over time discover what they can take away until they are left with pure PowerShell that is a work of art. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>You have probably heard the story (or legend) about Pablo Picasso and his napkin drawing. A guy goes up to Picasso in a cafe and asks for an autograph or something. Picasso sketches out something in a minute or so. He turns to the guy and says, \u201cThat will be $10,000&quot;.\u201d&#160; The guy is stunned&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[75,8],"tags":[160,552,534,540],"class_list":["post-579","post","type-post","status-publish","format-standard","hentry","category-powershell-v2-0","category-scripting","tag-alias","tag-best-practices","tag-powershell","tag-scripting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PowerShell Picasso &#8226; The Lonely Administrator<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell Picasso &#8226; The Lonely Administrator\" \/>\n<meta property=\"og:description\" content=\"You have probably heard the story (or legend) about Pablo Picasso and his napkin drawing. A guy goes up to Picasso in a cafe and asks for an autograph or something. Picasso sketches out something in a minute or so. He turns to the guy and says, \u201cThat will be $10,000&quot;.\u201d&#160; The guy is stunned...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/\" \/>\n<meta property=\"og:site_name\" content=\"The Lonely Administrator\" \/>\n<meta property=\"article:published_time\" content=\"2010-02-23T17:22:09+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/02\/powershellpicasso_thumb.jpg\" \/>\n<meta name=\"author\" content=\"Jeffery Hicks\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@JeffHicks\" \/>\n<meta name=\"twitter:site\" content=\"@JeffHicks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeffery Hicks\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/\"},\"author\":{\"name\":\"Jeffery Hicks\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"headline\":\"PowerShell Picasso\",\"datePublished\":\"2010-02-23T17:22:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/\"},\"wordCount\":963,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/02\\\/powershellpicasso_thumb.jpg\",\"keywords\":[\"Alias\",\"Best Practices\",\"PowerShell\",\"Scripting\"],\"articleSection\":[\"PowerShell v2.0\",\"Scripting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/\",\"name\":\"PowerShell Picasso &#8226; The Lonely Administrator\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/02\\\/powershellpicasso_thumb.jpg\",\"datePublished\":\"2010-02-23T17:22:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/#primaryimage\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/02\\\/powershellpicasso_thumb.jpg\",\"contentUrl\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/02\\\/powershellpicasso_thumb.jpg\",\"width\":\"185\",\"height\":\"244\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/579\\\/powershell-picasso\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PowerShell v2.0\",\"item\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/category\\\/powershell-v2-0\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell Picasso\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/\",\"name\":\"The Lonely Administrator\",\"description\":\"Practical Advice for the Automating IT Pro\",\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\",\"name\":\"Jeffery Hicks\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"caption\":\"Jeffery Hicks\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PowerShell Picasso &#8226; The Lonely Administrator","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/","og_locale":"en_US","og_type":"article","og_title":"PowerShell Picasso &#8226; The Lonely Administrator","og_description":"You have probably heard the story (or legend) about Pablo Picasso and his napkin drawing. A guy goes up to Picasso in a cafe and asks for an autograph or something. Picasso sketches out something in a minute or so. He turns to the guy and says, \u201cThat will be $10,000&quot;.\u201d&#160; The guy is stunned...","og_url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/","og_site_name":"The Lonely Administrator","article_published_time":"2010-02-23T17:22:09+00:00","og_image":[{"url":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/02\/powershellpicasso_thumb.jpg","type":"","width":"","height":""}],"author":"Jeffery Hicks","twitter_card":"summary_large_image","twitter_creator":"@JeffHicks","twitter_site":"@JeffHicks","twitter_misc":{"Written by":"Jeffery Hicks","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/#article","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/"},"author":{"name":"Jeffery Hicks","@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"headline":"PowerShell Picasso","datePublished":"2010-02-23T17:22:09+00:00","mainEntityOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/"},"wordCount":963,"commentCount":10,"publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/#primaryimage"},"thumbnailUrl":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/02\/powershellpicasso_thumb.jpg","keywords":["Alias","Best Practices","PowerShell","Scripting"],"articleSection":["PowerShell v2.0","Scripting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/","url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/","name":"PowerShell Picasso &#8226; The Lonely Administrator","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/#primaryimage"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/#primaryimage"},"thumbnailUrl":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/02\/powershellpicasso_thumb.jpg","datePublished":"2010-02-23T17:22:09+00:00","breadcrumb":{"@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/#primaryimage","url":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/02\/powershellpicasso_thumb.jpg","contentUrl":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/02\/powershellpicasso_thumb.jpg","width":"185","height":"244"},{"@type":"BreadcrumbList","@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/579\/powershell-picasso\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"PowerShell v2.0","item":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell-v2-0\/"},{"@type":"ListItem","position":2,"name":"PowerShell Picasso"}]},{"@type":"WebSite","@id":"https:\/\/jdhitsolutions.com\/blog\/#website","url":"https:\/\/jdhitsolutions.com\/blog\/","name":"The Lonely Administrator","description":"Practical Advice for the Automating IT Pro","publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jdhitsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9","name":"Jeffery Hicks","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","caption":"Jeffery Hicks"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":2567,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2567\/honorary-scripting-guy\/","url_meta":{"origin":579,"position":0},"title":"Honorary Scripting Guy","author":"Jeffery Hicks","date":"November 5, 2012","format":false,"excerpt":"I am pleased, honored and humbled to be selected as an Honorary Scripting Guy for 2012. I certainly would like to thank Ed Wilson, THE Scripting Guy. I would also like to congratulate my fellow honorees. If you aren't following these people on Twitter, G+ or the blogosphere you are\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2012\/11\/scriptingguy-150x150.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":404,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/404\/5-minute-powershell\/","url_meta":{"origin":579,"position":1},"title":"5 Minute PowerShell","author":"Jeffery Hicks","date":"September 28, 2009","format":false,"excerpt":"My October Mr. Roboto column is now available online. The article contains my suggestions for how someone completely new to PowerShell might spend their first 5 minutes. Perhaps not literally, since I expect most people will want to spend more than 60 seconds on my suggested steps. But overall I\u2026","rel":"","context":"In &quot;CommandLine&quot;","block_context":{"text":"CommandLine","link":"https:\/\/jdhitsolutions.com\/blog\/category\/commandline\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2009\/09\/zrtn_001p595cc73_tn.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2848,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2848\/wmi-explorer-from-the-powershell-guy\/","url_meta":{"origin":579,"position":2},"title":"WMI Explorer from The PowerShell Guy","author":"Jeffery Hicks","date":"March 8, 2013","format":false,"excerpt":"Several years ago, The PowerShell Guy, aka MoW, wrote a fantastic graphical PowerShell script that was a WMI Explorer. With this script you could connect to a computer and namespace, browse classes and view instances. A great way for discovering things about WMI. However Marc has moved on to other\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"wmibrowser","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/03\/wmibrowser-1024x552.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/03\/wmibrowser-1024x552.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/03\/wmibrowser-1024x552.png?resize=525%2C300 1.5x"},"classes":[]},{"id":69,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/69\/powershell-payette-podcast\/","url_meta":{"origin":579,"position":3},"title":"PowerShell Payette Podcast","author":"Jeffery Hicks","date":"November 22, 2006","format":false,"excerpt":"Want to hear about PowerShell right from the source? Then here is a great 15 minute podcast interview with Bruce Payette, a member of the PowerShell development team. If you were wondering about what PowerShell is all about, where it came from and what it can do, take a few\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6142,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/6142\/join-me-for-a-2-day-powershell-scripting-workshop\/","url_meta":{"origin":579,"position":4},"title":"Join Me for a 2 Day PowerShell Scripting Workshop","author":"Jeffery Hicks","date":"November 12, 2018","format":false,"excerpt":"I am very happy to announce a 2 day public PowerShell learning event. In association with the fine people behind the Techmentor conference, I will be presenting a 2 day PowerShell Scripting workshop in Dallas, TX on February 4-5, 2019. There is an option to attend virtually, but you'll really\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"announcer-blue","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/announcer-blue_thumb.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":92,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/92\/powershell-dba\/","url_meta":{"origin":579,"position":5},"title":"PowerShell DBA","author":"Jeffery Hicks","date":"January 26, 2007","format":false,"excerpt":"There is a very nice review of the new Powershell book at : http:\/\/weblog.infoworld.com\/dbunderground\/archives\/2007\/01\/rtfm.html. I'm glad he likes the book, even though he doesn't know who I am. But I'm working on it!! Anyway, the interesting point in his review is that he is looking at PowerShell from the perspective\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=579"}],"version-history":[{"count":0,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/579\/revisions"}],"wp:attachment":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}