{"id":138,"date":"2008-03-11T10:49:00","date_gmt":"2008-03-11T14:49:00","guid":{"rendered":"http:\/\/jdhitsolutions.com\/blog\/2008\/03\/11\/practical-powershell-scripts-and-code\/"},"modified":"2013-07-02T08:13:59","modified_gmt":"2013-07-02T12:13:59","slug":"practical-powershell-scripts-and-code","status":"publish","type":"post","link":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/","title":{"rendered":"Practical PowerShell Scripts and Code"},"content":{"rendered":"<p>If you've been reading the <a href=\"http:\/\/nexus.realtimepublishers.com\/RTWA.htm\" target=\"_blank\">Windows Administration in RealTime<\/a> ejournal, I hope you've enjoyed my Practical PowerShell column. If not, you're missing out. Each column solves a real-world and practical problem with PowerShell.  I explain how the PowerShell code works and why. It's not only a great way to learn PowerShell but you also get function code you can use immediately. The eJournal is still pretty new and we're working out the publication kinks. For example, you may have been wondering where to get your hands on the code in my column. Future columns will have a link to a download file. But for the first couple of columns you can get the code samples here:<\/p>\n<p>Volume 1 No. 1<\/p>\n<p>Volume 1 No. 2<\/p>\n<p>All downloads will be in zip files.  Any script will be renamed as a text file so be sure to rename accordingly. If you need help with any of the code or other PowerShell problems, post them in the <a href=\"http:\/\/www.scriptinganswers.com\/forum2\/forum_topics.asp?FID=27\" target=\"_blank\">PowerShell forum<\/a> at <a href=\"http:\/\/www.scriptinganswers.com\/\" target=\"_blank\">ScriptingAnswers.com<\/a>.<\/p>\n<\/p>\n<div class=\"wlWriterSmartContent\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:7069fc2e-dcd4-4d77-b8fe-4df34501631b\" style=\"margin: 0px; padding: 0px; display: inline;\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Powershell\" rel=\"tag\">Powershell<\/a>, <a href=\"http:\/\/technorati.com\/tags\/Scripting\" rel=\"tag\">Scripting<\/a>, <a href=\"http:\/\/technorati.com\/tags\/Administration\" rel=\"tag\">Administration<\/a>, Practical PowerShell, <a href=\"http:\/\/technorati.com\/tags\/Realtime\" rel=\"tag\">Realtime<\/a>, <a href=\"http:\/\/technorati.com\/tags\/Automation\" rel=\"tag\">Automation<\/a><\/div>\n<\/p>\n<p> <span class=\"sbmLink\">   <\/p>\n<table cellpadding=\"1\" cellspacing=\"1\">\n<tbody>\n<tr>\n<td class=\"sbmText\">Share this post : <\/td>\n<td class=\"sbmDim\" onmouseover=\"mOvr(this)\" onmouseout=\"mOut(this)\"><a class=\"sbmDim\" onmouseover=\"mOvr(this)\" title=\"Post it to del.icio.us\" onmouseout=\"mOut(this)\" href=\"http:\/\/del.icio.us\/post?url=http:\/\/jdhitsolutions.blogspot.com\/2008\/3\/practical-powershell-scripts-and-code.html&amp;;title=Practical%20PowerShell%20Code%20Samples\" target=\"_blank\"><img decoding=\"async\" src=\"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/deliciou4.png\" border=\"0\" \/><\/a><\/td>\n<td class=\"sbmDim\" onmouseover=\"mOvr(this)\" onmouseout=\"mOut(this)\"><a class=\"sbmDim\" onmouseover=\"mOvr(this)\" title=\"Post it to digg\" onmouseout=\"mOut(this)\" href=\"http:\/\/digg.com\/submit?phase=2&amp;url=http:\/\/jdhitsolutions.blogspot.com\/2008\/3\/practical-powershell-scripts-and-code.html&amp;title=Practical%20PowerShell%20Code%20Samples\" target=\"_blank\"><img decoding=\"async\" src=\"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/digg14.png\" border=\"0\" \/><\/a><\/td>\n<td class=\"sbmDim\" onmouseover=\"mOvr(this)\" onmouseout=\"mOut(this)\"><img decoding=\"async\" src=\"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/live4.png\" border=\"0\" \/><\/td>\n<td class=\"sbmDim\" onmouseover=\"mOvr(this)\" onmouseout=\"mOut(this)\"><a class=\"sbmDim\" onmouseover=\"mOvr(this)\" title=\"Post it to technorati!\" onmouseout=\"mOut(this)\" href=\"http:\/\/technorati.com\/faves\/?add=http:\/\/jdhitsolutions.blogspot.com\/2008\/3\/practical-powershell-scripts-and-code.html&amp;title=Practical%20PowerShell%20Code%20Samples\" target=\"_blank\"><img decoding=\"async\" src=\"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/technora4.png\" border=\"0\" \/><\/a><\/td>\n<td class=\"sbmDim\" onmouseover=\"mOvr(this)\" onmouseout=\"mOut(this)\"><a class=\"sbmDim\" onmouseover=\"mOvr(this)\" title=\"Post it to yahoo!\" onmouseout=\"mOut(this)\" href=\"http:\/\/myweb.yahoo.com\/myresults\/bookmarklet?u=http:\/\/jdhitsolutions.blogspot.com\/2008\/3\/practical-powershell-scripts-and-code.html&amp;t=Practical%20PowerShell%20Code%20Samples\" target=\"_blank\"><img decoding=\"async\" src=\"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/yahoo9.png\" border=\"0\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve been reading the Windows Administration in RealTime ejournal, I hope you&#8217;ve enjoyed my Practical PowerShell column. If not, you&#8217;re missing out. Each column solves a real-world and practical problem with PowerShell. I explain how the PowerShell code works and why. It&#8217;s not only a great way to learn PowerShell but you also get&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","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":[4,8],"tags":[22,49,52,53,547],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-powershell","category-scripting","tag-automation","tag-practical-powershell","tag-realtimepublishers","tag-scriptinganswers","tag-wmi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Practical PowerShell Scripts and Code &#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\/powershell\/138\/practical-powershell-scripts-and-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Practical PowerShell Scripts and Code &#8226; The Lonely Administrator\" \/>\n<meta property=\"og:description\" content=\"If you&#039;ve been reading the Windows Administration in RealTime ejournal, I hope you&#039;ve enjoyed my Practical PowerShell column. If not, you&#039;re missing out. Each column solves a real-world and practical problem with PowerShell. I explain how the PowerShell code works and why. It&#039;s not only a great way to learn PowerShell but you also get...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/\" \/>\n<meta property=\"og:site_name\" content=\"The Lonely Administrator\" \/>\n<meta property=\"article:published_time\" content=\"2008-03-11T14:49:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-07-02T12:13:59+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/deliciou4.png\" \/>\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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/\"},\"author\":{\"name\":\"Jeffery Hicks\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"headline\":\"Practical PowerShell Scripts and Code\",\"datePublished\":\"2008-03-11T14:49:00+00:00\",\"dateModified\":\"2013-07-02T12:13:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/\"},\"wordCount\":186,\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/blogs.msdn.com\\\/blogfiles\\\/rahulso\\\/WindowsLiveWriter\\\/IconsfordifferentSocialBookmarkingSites_B387\\\/deliciou4.png\",\"keywords\":[\"Automation\",\"Practical PowerShell\",\"RealTimePublishers\",\"ScriptingAnswers\",\"WMI\"],\"articleSection\":[\"PowerShell\",\"Scripting\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/\",\"name\":\"Practical PowerShell Scripts and Code &#8226; The Lonely Administrator\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/blogs.msdn.com\\\/blogfiles\\\/rahulso\\\/WindowsLiveWriter\\\/IconsfordifferentSocialBookmarkingSites_B387\\\/deliciou4.png\",\"datePublished\":\"2008-03-11T14:49:00+00:00\",\"dateModified\":\"2013-07-02T12:13:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/#primaryimage\",\"url\":\"http:\\\/\\\/blogs.msdn.com\\\/blogfiles\\\/rahulso\\\/WindowsLiveWriter\\\/IconsfordifferentSocialBookmarkingSites_B387\\\/deliciou4.png\",\"contentUrl\":\"http:\\\/\\\/blogs.msdn.com\\\/blogfiles\\\/rahulso\\\/WindowsLiveWriter\\\/IconsfordifferentSocialBookmarkingSites_B387\\\/deliciou4.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/138\\\/practical-powershell-scripts-and-code\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PowerShell\",\"item\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/category\\\/powershell\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Practical PowerShell Scripts and Code\"}]},{\"@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":"Practical PowerShell Scripts and Code &#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\/powershell\/138\/practical-powershell-scripts-and-code\/","og_locale":"en_US","og_type":"article","og_title":"Practical PowerShell Scripts and Code &#8226; The Lonely Administrator","og_description":"If you've been reading the Windows Administration in RealTime ejournal, I hope you've enjoyed my Practical PowerShell column. If not, you're missing out. Each column solves a real-world and practical problem with PowerShell. I explain how the PowerShell code works and why. It's not only a great way to learn PowerShell but you also get...","og_url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/","og_site_name":"The Lonely Administrator","article_published_time":"2008-03-11T14:49:00+00:00","article_modified_time":"2013-07-02T12:13:59+00:00","og_image":[{"url":"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/deliciou4.png","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":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/#article","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/"},"author":{"name":"Jeffery Hicks","@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"headline":"Practical PowerShell Scripts and Code","datePublished":"2008-03-11T14:49:00+00:00","dateModified":"2013-07-02T12:13:59+00:00","mainEntityOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/"},"wordCount":186,"publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/#primaryimage"},"thumbnailUrl":"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/deliciou4.png","keywords":["Automation","Practical PowerShell","RealTimePublishers","ScriptingAnswers","WMI"],"articleSection":["PowerShell","Scripting"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/","url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/","name":"Practical PowerShell Scripts and Code &#8226; The Lonely Administrator","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/#primaryimage"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/#primaryimage"},"thumbnailUrl":"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/deliciou4.png","datePublished":"2008-03-11T14:49:00+00:00","dateModified":"2013-07-02T12:13:59+00:00","breadcrumb":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/#primaryimage","url":"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/deliciou4.png","contentUrl":"http:\/\/blogs.msdn.com\/blogfiles\/rahulso\/WindowsLiveWriter\/IconsfordifferentSocialBookmarkingSites_B387\/deliciou4.png"},{"@type":"BreadcrumbList","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"PowerShell","item":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},{"@type":"ListItem","position":2,"name":"Practical PowerShell Scripts and Code"}]},{"@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":129,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/129\/practical-powershell\/","url_meta":{"origin":138,"position":0},"title":"Practical PowerShell","author":"Jeffery Hicks","date":"February 13, 2008","format":false,"excerpt":"I am writing a new monthly column for a new eJournal from RealTime Publishers. The column, Practical PowerShell, will be a regular feature in Windows Administration in Realtime. The eJournal is a free PDF although I think you have to give up an email address. My column is intended to\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":134,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/134\/prof-powershell-is-taking-roll\/","url_meta":{"origin":138,"position":1},"title":"Prof. PowerShell is taking roll","author":"Jeffery Hicks","date":"March 6, 2008","format":false,"excerpt":"My weekly column that I've been writing for MCPMag.com is now officially Prof. PowerShell. The column's goal is to introduce you to PowerShell and help you get up to speed. I obviously can't teach you everything in a weekly 300 word column, but hopefully it will be enough to get\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":5992,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5992\/powershell-practice-makes-perfect\/","url_meta":{"origin":138,"position":2},"title":"PowerShell Practice Makes Perfect","author":"Jeffery Hicks","date":"June 8, 2018","format":false,"excerpt":"I have been teaching and presenting about PowerShell for over 10 years. I always put a great emphasis on doing as I firmly believe that is the best way to learn something like PowerShell. I've also heard a number of people over the years say that they want to learn\u2026","rel":"","context":"In &quot;Books&quot;","block_context":{"text":"Books","link":"https:\/\/jdhitsolutions.com\/blog\/category\/books\/"},"img":{"alt_text":"cover","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/06\/cover_thumb.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":61,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/61\/mr-roboto-is-coming\/","url_meta":{"origin":138,"position":3},"title":"Mr. Roboto is coming","author":"Jeffery Hicks","date":"November 2, 2006","format":false,"excerpt":"I will be taking over the Mr. Roboto column for REDMOND Magazine. If you've seen the column, I don't know if I'll be wearing the shiny Borg suit that Don Jones used to wear. It chafes a little but nothing that a little oil won't cure. If you haven't read\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":7361,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/7361\/powershell-7-cross-platform-scripting-tips-and-traps\/","url_meta":{"origin":138,"position":4},"title":"PowerShell 7 Cross-Platform Scripting Tips and Traps","author":"Jeffery Hicks","date":"March 13, 2020","format":false,"excerpt":"One of the reasons you want to adopt PowerShell 7 on your desktop, is that it can\u00a0 be used cross-platform. Theoretically, you can write a PowerShell script or function that works on Windows, Linux, and Mac. However, this is not without challenges. In some ways, it feels like we are\u2026","rel":"","context":"In &quot;PowerShell 7&quot;","block_context":{"text":"PowerShell 7","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell-7\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/03\/hicks-scripting-4.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/03\/hicks-scripting-4.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/03\/hicks-scripting-4.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/03\/hicks-scripting-4.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":7468,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/7468\/powershell-7-scripting-with-the-powershell-ise\/","url_meta":{"origin":138,"position":5},"title":"PowerShell 7 Scripting with the PowerShell ISE","author":"Jeffery Hicks","date":"May 11, 2020","format":false,"excerpt":"By now, everyone should have gotten the memo that with the move to PowerShell 7, the PowerShell ISE should be considered deprecated. When it comes to PowerShell script and module development for PowerShell 7, the recommended tool is Visual Studio Code. It is free and offers so much more than\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\/2020\/05\/ise-ps7.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/05\/ise-ps7.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/05\/ise-ps7.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/05\/ise-ps7.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/138","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=138"}],"version-history":[{"count":0,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"wp:attachment":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}