{"id":1052,"date":"2011-01-14T08:30:41","date_gmt":"2011-01-14T13:30:41","guid":{"rendered":"http:\/\/jdhitsolutions.com\/blog\/?p=1052"},"modified":"2011-03-28T08:25:27","modified_gmt":"2011-03-28T12:25:27","slug":"friday-fun-new-thriller","status":"publish","type":"post","link":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/","title":{"rendered":"Friday Fun &#8211; New Thriller"},"content":{"rendered":"<p>I read a lot of thrillers by authors like James Rollins, Jeff Long, Douglas Preston and Lincoln Childs. Certainly not high-brow literature, but generally well written and often a lot of fun. Of course with any fiction genre, there are certain thematic paradigms that must be followed, almost as if by recipe. Thus was born a short PowerShell script to create a new thriller synopsis. Even if you don't plan on writing your own thriller, you might pick up a PowerShell technique or two.<!--more--><\/p>\n<p>The main part of the script is a string replacement using the -f operator. One the left side of the expression you have a series of place holders. On the right side of the -f operator is a comma separated list of values. Here's an example. See how the right side values are plugged into the left side place holders.<br \/>\n[cc lang=\"PowerShell\"]<br \/>\nPS S:\\> $d=dir *.ps1PS S:\\> \"Found {0} PowerShell scripts with a total size of {1} in {2}.\" -f $d.count,($d | Measure-object length -sum).sum,$d[0].directoryname<br \/>\nFound 721 PowerShell scripts with a total size of 2388840 in C:\\scripts.<br \/>\n[\/cc]<br \/>\nEnclose expressions you want to evaluate in parentheses. Armed with this technique, creating a new thriller synopsis is pretty easy.<br \/>\n[cc lang=\"PowerShell\"]<br \/>\n$Title=\"The Omega Plan\",\"Deep Rising\",\"The Last Man Standing\",\"Running on Empty\",\"Paradise City\",\"THe Hidden Door\"<br \/>\n$Name=\"Jack Frost\",\"Paul Bunyan\",\"Roy Biv\",\"Art Deco\",\"Jim Shorts\"<br \/>\n$first=($name | Get-Random).Split()[0]<br \/>\n$Former=\"Navy SEAL\",\"Army Ranger\",\"NASA shuttle astronaut\",\"Green Beret\",\"NSA analyst\",\"Secret Service agent\",\"CIA agent\",\"IT administrator\",\"Delta Team commander\"<br \/>\n$villian=\"The Society\",\"The Guild\",\"SPECTRE\",\"The Brotherhood\",\"The Guardians of the Rose\",\"Google\",\"Microsoft\",\"The Illuminati\"<br \/>\n$family=\"son\",\"daughter\",\"wife\",\"mother\",\"father\",\"dog\",\"hamster\",\"sister\",\"brother\",\"twin\" | Get-Random<br \/>\n$tragedy=\"the tragic loss of his $family\",\"the nightmares of war\",\"a missing library book\",\"a toothache\",\"a fear off flying\"<br \/>\n$mystery=\"Clippy\",\"Macchu Pichu\",\"meatloaf\",\"Atlantis\",\"the missing Mayans\",\"alien abductions\",\"Easter Island\",\"chocolate covered bacon\",\"the last pharoah\"<br \/>\n$backdrop=\"ancient Egypt\",\"ancient Greece\",\"Istanbul\",\"Omaha\",\",Singapore\",\"Antarctica\",\"the Hindu Kush\",\"the Amazon rain forest\"<\/p>\n<p>\"\"\"{0}\"\" finds {1} in the middle of an extraordinary adventure that will push him<br \/>\nbeyond the breaking point. A former {2}, {3} finds himself trapped in the middle of<br \/>\na series of catastrophic events unleashed by {4} that threaten not only his sanity<br \/>\nbut the very fabric of society. Haunted by {5}, {3} must overcome a complex and<br \/>\ndiabolic plot surrounding the mystery of {6}. Set amidst the exotic backdrop of<br \/>\n{7}, {3} will make a discovery that will change his world, and ours, forever. But<br \/>\ncan he do it before time runs out?\" -f ($title | get-random),($name | Get-Random),($former | Get-Random),$first,($villian | Get-Random),($tragedy | Get-Random),($mystery | Get-Random),($backdrop | Get-Random)<br \/>\n[\/cc]<\/p>\n<p>The first part of the script defines variable arrays for the different required thriller elements. I use Get-Random to pick one choice from each element and then plug that value into the -f operator expression. Here's a sample result.<br \/>\n[cc lang=\"PowerShell\"]<br \/>\nPS S:\\> .\\New-Thriller.ps1<br \/>\n\"The Last Man Standing\" finds Jack Frost in the middle of an extraordinary adventure that will push him<br \/>\nbeyond the breaking point. A former NASA shuttle astronaut, Paul finds himself trapped in the middle of<br \/>\na series of catastrophic events unleashed by The Guild that threaten not only his sanity<br \/>\nbut the very fabric of society. Haunted by the tragic loss of his son, Paul must overcome a complex and<br \/>\ndiabolic plot surrounding the mystery of Atlantis. Set amidst the exotic backdrop of<br \/>\nthe Amazon rain forest, Paul will make a discovery that will change his world, and ours, forever. But<br \/>\ncan he do it before time runs out?<br \/>\n[\/cc]<br \/>\nHmmm...that sounds interesting.<\/p>\n<p>Download <a href='http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2011\/01\/New-Thriller.txt' target=\"_blank\">New-Thriller<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I read a lot of thrillers by authors like James Rollins, Jeff Long, Douglas Preston and Lincoln Childs. Certainly not high-brow literature, but generally well written and often a lot of fun. Of course with any fiction genre, there are certain thematic paradigms that must be followed, almost as if by recipe. Thus was born&#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":[271,61,4],"tags":[233,245,534],"class_list":["post-1052","post","type-post","status-publish","format-standard","hentry","category-friday-fun","category-miscellaneous","category-powershell","tag-arrays","tag-get-random","tag-powershell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Friday Fun - New Thriller &#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\/1052\/friday-fun-new-thriller\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Friday Fun - New Thriller &#8226; The Lonely Administrator\" \/>\n<meta property=\"og:description\" content=\"I read a lot of thrillers by authors like James Rollins, Jeff Long, Douglas Preston and Lincoln Childs. Certainly not high-brow literature, but generally well written and often a lot of fun. Of course with any fiction genre, there are certain thematic paradigms that must be followed, almost as if by recipe. Thus was born...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/\" \/>\n<meta property=\"og:site_name\" content=\"The Lonely Administrator\" \/>\n<meta property=\"article:published_time\" content=\"2011-01-14T13:30:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-03-28T12:25:27+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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/1052\\\/friday-fun-new-thriller\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/1052\\\/friday-fun-new-thriller\\\/\"},\"author\":{\"name\":\"Jeffery Hicks\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"headline\":\"Friday Fun &#8211; New Thriller\",\"datePublished\":\"2011-01-14T13:30:41+00:00\",\"dateModified\":\"2011-03-28T12:25:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/1052\\\/friday-fun-new-thriller\\\/\"},\"wordCount\":619,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"keywords\":[\"arrays\",\"Get-Random\",\"PowerShell\"],\"articleSection\":[\"Friday Fun\",\"Miscellaneous\",\"PowerShell\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/1052\\\/friday-fun-new-thriller\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/1052\\\/friday-fun-new-thriller\\\/\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/1052\\\/friday-fun-new-thriller\\\/\",\"name\":\"Friday Fun - New Thriller &#8226; The Lonely Administrator\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\"},\"datePublished\":\"2011-01-14T13:30:41+00:00\",\"dateModified\":\"2011-03-28T12:25:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/1052\\\/friday-fun-new-thriller\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/1052\\\/friday-fun-new-thriller\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/1052\\\/friday-fun-new-thriller\\\/#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; New Thriller\"}]},{\"@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 - New Thriller &#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\/1052\/friday-fun-new-thriller\/","og_locale":"en_US","og_type":"article","og_title":"Friday Fun - New Thriller &#8226; The Lonely Administrator","og_description":"I read a lot of thrillers by authors like James Rollins, Jeff Long, Douglas Preston and Lincoln Childs. Certainly not high-brow literature, but generally well written and often a lot of fun. Of course with any fiction genre, there are certain thematic paradigms that must be followed, almost as if by recipe. Thus was born...","og_url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/","og_site_name":"The Lonely Administrator","article_published_time":"2011-01-14T13:30:41+00:00","article_modified_time":"2011-03-28T12:25:27+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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/#article","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/"},"author":{"name":"Jeffery Hicks","@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"headline":"Friday Fun &#8211; New Thriller","datePublished":"2011-01-14T13:30:41+00:00","dateModified":"2011-03-28T12:25:27+00:00","mainEntityOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/"},"wordCount":619,"commentCount":4,"publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"keywords":["arrays","Get-Random","PowerShell"],"articleSection":["Friday Fun","Miscellaneous","PowerShell"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/","url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/","name":"Friday Fun - New Thriller &#8226; The Lonely Administrator","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#website"},"datePublished":"2011-01-14T13:30:41+00:00","dateModified":"2011-03-28T12:25:27+00:00","breadcrumb":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1052\/friday-fun-new-thriller\/#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; New Thriller"}]},{"@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":6161,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/6161\/friday-fun-powershell-thriller-revisited\/","url_meta":{"origin":1052,"position":0},"title":"Friday Fun: PowerShell Thriller Revisited","author":"Jeffery Hicks","date":"November 16, 2018","format":false,"excerpt":"A number of years ago I shared a fun PowerShell script that generated a description of a new thriller you might find in the action thriller section of your local book store. I modeled it after the works of authors like Vince Flynn, Ben Coes and James Rollins. I'm a\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\/2018\/11\/image_thumb-3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/image_thumb-3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/image_thumb-3.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/image_thumb-3.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1229,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1229\/st-patricks-bar-order\/","url_meta":{"origin":1052,"position":1},"title":"St. Patrick&#8217;s Bar Order","author":"Jeffery Hicks","date":"March 17, 2011","format":false,"excerpt":"Let's have a little fun with St. Patrick's Day and perhaps even learn a little PowerShell. Imagine, and this might be hard I know, that you are in a bar on St. Patrick's Day with a friend. But you can't think of what to order. Or perhaps you've been there\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":4821,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/4821\/friday-fun-number-crunching\/","url_meta":{"origin":1052,"position":2},"title":"Friday Fun: Number Crunching","author":"Jeffery Hicks","date":"January 15, 2016","format":false,"excerpt":"Earlier this week I was looking at the GoFundMe website in the midst of debating a new project. One of the considerations I have for sites like this is the expense involved. Certainly I don't expect this type of service to be free. But I started wondering about what net\u2026","rel":"","context":"In &quot;Friday Fun&quot;","block_context":{"text":"Friday Fun","link":"https:\/\/jdhitsolutions.com\/blog\/category\/friday-fun\/"},"img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/01\/image_thumb-13.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":6175,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/6175\/more-fun-with-powershell-thrillers\/","url_meta":{"origin":1052,"position":3},"title":"More Fun with PowerShell Thrillers","author":"Jeffery Hicks","date":"November 20, 2018","format":false,"excerpt":"Last week I posted a Friday Fun article about using PowerShell to create a synopsis for a hypothetical thriller novel. Naturally I wasn't satisfied to leave it at that. Don't get me wrong, it was a good start. But I needed to take the next logical step. I had a\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\/2018\/11\/image_thumb-6.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/image_thumb-6.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/image_thumb-6.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/image_thumb-6.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":8629,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8629\/friday-fun-a-powershell-welcome\/","url_meta":{"origin":1052,"position":4},"title":"Friday Fun: A PowerShell Welcome","author":"Jeffery Hicks","date":"October 15, 2021","format":false,"excerpt":"I realized it had been a while since I wrote a Friday Fun post. These posts are intended to demonstrate PowerShell in a fun and often non-practical way. The end result is generally irrelevant. The PowerShell scripting techniques and concepts I use are the real takeaways. The task is nothing\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\/2021\/10\/welcome-ps.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/10\/welcome-ps.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/10\/welcome-ps.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1660,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/1660\/friday-fun-what-a-char\/","url_meta":{"origin":1052,"position":5},"title":"Friday Fun What a CHAR!","author":"Jeffery Hicks","date":"September 23, 2011","format":false,"excerpt":"Last week I posted a PowerShell snippet on Twitter. My original post piped an array of integers as [CHAR] type using an OFS. Don't worry about that. As many people reminded me, it is much easier to use the -Join operator. -join [char[]](116,103,105,102) I'll let you try that on your\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":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1052","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=1052"}],"version-history":[{"count":0,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1052\/revisions"}],"wp:attachment":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=1052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=1052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=1052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}