{"id":2622,"date":"2012-12-07T13:44:48","date_gmt":"2012-12-07T18:44:48","guid":{"rendered":"http:\/\/jdhitsolutions.com\/blog\/?p=2622"},"modified":"2012-12-07T13:44:48","modified_gmt":"2012-12-07T18:44:48","slug":"friday-fun-get-happy-holiday","status":"publish","type":"post","link":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/","title":{"rendered":"Friday Fun &#8211; Get Happy Holiday"},"content":{"rendered":"<p>Today's Friday Fun is my version of a script originally posted a few years ago by <a href=\"http:\/\/thepowershellguy.com\/blogs\/posh\/default.aspx\" title=\"Visit The PowerShell Guy\" target=\"_blank\">The PowerShell Guy<\/a>. I'll list the code but you really need to run it to enjoy it. <\/p>\n<p><code lang=\"PowerShell\"><br \/>\n#requires -version 2.0<\/p>\n<p>#This must be run from the PowerShell console. NOT in the ISE.<\/p>\n<p>#this is based on a script originally posted by The PowerShell Guy<br \/>\n#http:\/\/thepowershellguy.com\/blogs\/posh\/default.aspx<\/p>\n<p>$Greeting = \"$([char]14) **Happy Holidays** $([char]14)\"<\/p>\n<p>Clear-Host<br \/>\nWrite-host \"`n\"<br \/>\n$Peek = \" ^ \"<br \/>\n$tree = \"\/|\\\"<br \/>\n$i = 20<br \/>\n$pos = $host.ui.rawui.CursorPosition<br \/>\n#adjust to center the display<br \/>\n$offset = ($host.ui.rawui.WindowSize.Width - 72)\/2<\/p>\n<p>write-host -fore 'red' ($peek.PadLeft($i-1).PadRight(36) * 2)<br \/>\nwrite-host -fore 'green' ($tree.PadLeft($i-1).PadRight(36) * 2)<\/p>\n<p>1..16 | Foreach {<br \/>\n    #build out the tree<br \/>\n    $tree = $tree -replace \"\/(.*)\\\\\",'\/\/$1\\\\'<br \/>\n    write-host -fore 'green' ($tree.PadLeft($i).PadRight(36) * 2)<br \/>\n    $i++<br \/>\n}<\/p>\n<p>write-host -fore 'green' (\"|||\".PadLeft(19).PadRight(36) *2 )<br \/>\nwrite-host -fore 'green' (\"|||\".PadLeft(19).PadRight(36) *2)<\/p>\n<p>$rect = New-Object System.Management.Automation.Host.Rectangle<br \/>\n$rect.top = $pos.y<br \/>\n$rect.Right = 70<br \/>\n$rect.Bottom = $pos.y + 19<br \/>\n$buffer = $host.ui.rawui.getbuffercontents($rect)<br \/>\n#random number object<br \/>\n$R = new-object system.random<br \/>\n$ball = new-object System.Management.Automation.Host.BufferCell<br \/>\n$ball.backgroundColor = $host.ui.rawui.BackgroundColor<\/p>\n<p>1..150 | ForEach {<br \/>\n    sleep -Milliseconds 100<br \/>\n    #get a random position<br \/>\n    $rx = $r.Next(19)<br \/>\n    $ry = $r.Next(70)<\/p>\n<p>    #define a collection of figures to be used as ornaments<br \/>\n    $ornaments = '@','*','#',\":\"<br \/>\n    #get a random ornament<br \/>\n    $ball.Character = Get-Random $ornaments<br \/>\n    $ball.ForegroundColor = $r.next(16)<\/p>\n<p>    if ($buffer[$rx,$ry].Character -eq '\/') {$buffer[$rx,$ry] = $ball}<br \/>\n    if ($buffer[$rx,$ry].Character -eq '\\') {$buffer[$rx,$ry] = $ball}<br \/>\n    $host.ui.rawui.SetBufferContents($pos,$buffer)<br \/>\n}<\/p>\n<p>#write the greeting centered<br \/>\n$pos.y = $pos.y + 22<br \/>\n$pos.x = 36 - (($Greeting.Length)\/2)<br \/>\n$host.ui.rawui.CursorPosition=$pos<\/p>\n<p>Write-Host $Greeting -Fore 'red'<\/p>\n<p><\/code><\/p>\n<p>This is probably the epitome of PowerShell fun: not practical in any way but still done with PowerShell. Enjoy.<\/p>\n<p>Download <a href='http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2012\/12\/Get-HappyHoliday.txt' target='_blank'>Get-HappyHoliday<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today&#8217;s Friday Fun is my version of a script originally posted a few years ago by The PowerShell Guy. I&#8217;ll list the code but you really need to run it to enjoy it. #requires -version 2.0 #This must be run from the PowerShell console. NOT in the ISE. #this is based on a script originally&#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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[271,61,4],"tags":[230,534,540],"class_list":["post-2622","post","type-post","status-publish","format-standard","hentry","category-friday-fun","category-miscellaneous","category-powershell","tag-fridayfun","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>Friday Fun - Get Happy Holiday &#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\/2622\/friday-fun-get-happy-holiday\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Friday Fun - Get Happy Holiday &#8226; The Lonely Administrator\" \/>\n<meta property=\"og:description\" content=\"Today&#039;s Friday Fun is my version of a script originally posted a few years ago by The PowerShell Guy. I&#039;ll list the code but you really need to run it to enjoy it. #requires -version 2.0 #This must be run from the PowerShell console. NOT in the ISE. #this is based on a script originally...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/\" \/>\n<meta property=\"og:site_name\" content=\"The Lonely Administrator\" \/>\n<meta property=\"article:published_time\" content=\"2012-12-07T18:44:48+00:00\" \/>\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\\\/2622\\\/friday-fun-get-happy-holiday\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/2622\\\/friday-fun-get-happy-holiday\\\/\"},\"author\":{\"name\":\"Jeffery Hicks\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"headline\":\"Friday Fun &#8211; Get Happy Holiday\",\"datePublished\":\"2012-12-07T18:44:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/2622\\\/friday-fun-get-happy-holiday\\\/\"},\"wordCount\":62,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"keywords\":[\"FridayFun\",\"PowerShell\",\"Scripting\"],\"articleSection\":[\"Friday Fun\",\"Miscellaneous\",\"PowerShell\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/2622\\\/friday-fun-get-happy-holiday\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/2622\\\/friday-fun-get-happy-holiday\\\/\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/2622\\\/friday-fun-get-happy-holiday\\\/\",\"name\":\"Friday Fun - Get Happy Holiday &#8226; The Lonely Administrator\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\"},\"datePublished\":\"2012-12-07T18:44:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/2622\\\/friday-fun-get-happy-holiday\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/2622\\\/friday-fun-get-happy-holiday\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/2622\\\/friday-fun-get-happy-holiday\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Friday Fun\",\"item\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/category\\\/friday-fun\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Friday Fun &#8211; Get Happy Holiday\"}]},{\"@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":"Friday Fun - Get Happy Holiday &#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\/2622\/friday-fun-get-happy-holiday\/","og_locale":"en_US","og_type":"article","og_title":"Friday Fun - Get Happy Holiday &#8226; The Lonely Administrator","og_description":"Today's Friday Fun is my version of a script originally posted a few years ago by The PowerShell Guy. I'll list the code but you really need to run it to enjoy it. #requires -version 2.0 #This must be run from the PowerShell console. NOT in the ISE. #this is based on a script originally...","og_url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/","og_site_name":"The Lonely Administrator","article_published_time":"2012-12-07T18:44:48+00:00","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\/2622\/friday-fun-get-happy-holiday\/#article","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/"},"author":{"name":"Jeffery Hicks","@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"headline":"Friday Fun &#8211; Get Happy Holiday","datePublished":"2012-12-07T18:44:48+00:00","mainEntityOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/"},"wordCount":62,"commentCount":3,"publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"keywords":["FridayFun","PowerShell","Scripting"],"articleSection":["Friday Fun","Miscellaneous","PowerShell"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/","url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/","name":"Friday Fun - Get Happy Holiday &#8226; The Lonely Administrator","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#website"},"datePublished":"2012-12-07T18:44:48+00:00","breadcrumb":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2622\/friday-fun-get-happy-holiday\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Friday Fun","item":"https:\/\/jdhitsolutions.com\/blog\/category\/friday-fun\/"},{"@type":"ListItem","position":2,"name":"Friday Fun &#8211; Get Happy Holiday"}]},{"@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":3584,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/3584\/friday-fun-a-christmas-present-for-you\/","url_meta":{"origin":2622,"position":0},"title":"Friday Fun: A Christmas Present for You","author":"Jeffery Hicks","date":"December 20, 2013","format":false,"excerpt":"Over the years a number of people in the PowerShell community have shared Christmas and holiday related items. I've collected them and in some cases tweaked a little bit. This year I decided to wrap them all up in a module for you. This will work in PowerShell 2.0 and\u2026","rel":"","context":"In &quot;Friday Fun&quot;","block_context":{"text":"Friday Fun","link":"https:\/\/jdhitsolutions.com\/blog\/category\/friday-fun\/"},"img":{"alt_text":"xmas","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/12\/xmas-300x146.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1307,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1307\/friday-fun-powershell-pep-talk\/","url_meta":{"origin":2622,"position":1},"title":"Friday Fun PowerShell Pep Talk","author":"Jeffery Hicks","date":"April 1, 2011","format":false,"excerpt":"Today's Friday Fun is meant to help get you excited about the upcoming Scripting Games. I want to add a little pep to your PowerShell prompt. Perhaps it will even keep you motivated. What I have for you today are variety of prompt functions. Consider them variations on a theme.\u2026","rel":"","context":"In &quot;Friday Fun&quot;","block_context":{"text":"Friday Fun","link":"https:\/\/jdhitsolutions.com\/blog\/category\/friday-fun\/"},"img":{"alt_text":"PowerShell Pep Talk","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2011\/04\/color-pep-prompt-300x144.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":7956,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/7956\/friday-fun-a-powershell-christmas-prompt\/","url_meta":{"origin":2622,"position":2},"title":"Friday Fun &#8211; A PowerShell Christmas Prompt","author":"Jeffery Hicks","date":"December 11, 2020","format":false,"excerpt":"Time for a new Friday Fun article. These articles use \"fun\" ways to teach you how to use PowerShell. The end goal may be silly, but hopefully the techniques and concepts are useful. Today I have an updated prompt function. You can customize your PowerShell prompt by creating a function\u2026","rel":"","context":"In &quot;Friday Fun&quot;","block_context":{"text":"Friday Fun","link":"https:\/\/jdhitsolutions.com\/blog\/category\/friday-fun\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/christmas-countdown.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/christmas-countdown.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/christmas-countdown.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/christmas-countdown.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/christmas-countdown.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/christmas-countdown.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":2081,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2081\/friday-fun-powershell-valentines-day\/","url_meta":{"origin":2622,"position":3},"title":"Friday Fun PowerShell Valentines Day","author":"Jeffery Hicks","date":"February 10, 2012","format":false,"excerpt":"With Valentine's Day just around the corner, I thought I should help you out with your gift giving. Remember those bags of candy with the cute sayings like \"Be Mine\"? Here's how you can create a \"bag\" of them using Windows PowerShell; perfect for that extra geeky significant other. Or\u2026","rel":"","context":"In &quot;Friday Fun&quot;","block_context":{"text":"Friday Fun","link":"https:\/\/jdhitsolutions.com\/blog\/category\/friday-fun\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/valentines-300x104.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4211,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/4211\/friday-fun-arent-you-special\/","url_meta":{"origin":2622,"position":4},"title":"Friday Fun: Aren\u2019t You Special","author":"Jeffery Hicks","date":"January 30, 2015","format":false,"excerpt":"If you've been following my work for any length of time you know I am constantly going on about \"objects in the pipeline\". But PowerShell is flexible enough that you should be able to use it as it meets your needs, provided you know the limitations for whatever path you\u2026","rel":"","context":"In &quot;Friday Fun&quot;","block_context":{"text":"Friday Fun","link":"https:\/\/jdhitsolutions.com\/blog\/category\/friday-fun\/"},"img":{"alt_text":"crayons","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/11\/crayons-150x150.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2261,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2261\/friday-fun-powershell-countdown\/","url_meta":{"origin":2622,"position":5},"title":"Friday Fun: PowerShell Countdown","author":"Jeffery Hicks","date":"April 27, 2012","format":false,"excerpt":"Recently, Josh Atwell posted a PowerShell script that performed a countdown. Naturally, I was inspired and did the whole \"embrace and extend\" thing. Don't get me wrong: Josh's script is perfectly fine. I saw some opportunities to try some things and use it as a teaching device. If nothing else,\u2026","rel":"","context":"In &quot;Friday Fun&quot;","block_context":{"text":"Friday Fun","link":"https:\/\/jdhitsolutions.com\/blog\/category\/friday-fun\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2012\/04\/countdown-150x150.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2622","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=2622"}],"version-history":[{"count":0,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2622\/revisions"}],"wp:attachment":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=2622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=2622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=2622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}