{"id":8128,"date":"2021-02-03T22:45:10","date_gmt":"2021-02-04T03:45:10","guid":{"rendered":"https:\/\/jdhitsolutions.com\/blog\/?p=8128"},"modified":"2021-07-30T09:30:26","modified_gmt":"2021-07-30T13:30:26","slug":"powershell-puzzles-and-challenges","status":"publish","type":"post","link":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/","title":{"rendered":"PowerShell Puzzles and Challenges"},"content":{"rendered":"\n<div class=\"wp-block-image is-style-default\"><figure class=\"alignleft size-large\"><a href=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/brainidea_thumb_thumb.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"261\" height=\"200\" src=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/brainidea_thumb_thumb.jpg\" alt=\"\" class=\"wp-image-6206\"\/><\/a><\/figure><\/div>\n\n\n\n<p>I just wrapped up presenting to the Research Triangle PowerShell User Group. I gave them a set of PowerShell problems to solve. The idea is that in solving the problem, you improve your PowerShell skills and expertise. Tonight's problems were not scripting problems. The answers to these puzzles are not limited to one-line commands, although some might. Most of these problems should be solved with no more than a few lines of PowerShell code that you would run interactively at a PowerShell prompt.<\/p>\n\n\n\n<p>We didn't get through all of the problems, so I am going to post them here. If you did not attend the meeting, you are still welcome to try your hand at solving them. The first few problems are not especially complex, but everyone starts as a beginner so I wanted to include those people as well.<\/p>\n\n\n\n<p>See what you can do with these:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>How many stopped services are on your computer?<\/li><li>list services set to autostart but are NOT running?<\/li><li>List ONLY the property names of the Win32_BIOS WMI class.<\/li><li>List all loaded functions displaying the name, number of parameter sets, and total number of lines in the function.<\/li><li>Create a formatted report of Processes grouped by UserName. Skip processes with no user name.<\/li><li>Using your previous code, display the username, the number of processes, the total workingset size. Set no username to NONE.<\/li><li>Create a report that shows files in %TEMP% by extension. Include Count,total size, % of total directory size.<\/li><li>Find the total % of WS memory a process is using. Show top 10 processes,count,total workingset and PctUsedMemory.<\/li><\/ol>\n\n\n\n<p>There is almost certainly more than one way to accomplish these tasks. You can use either Windows PowerShell or PowerShell 7.x. I wrote all of my solutions to work in Windows PowerShell.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Bonus<\/h2>\n\n\n\n<p>I also have 2 bonus challenges. These are a bit more involved and will likely be easier with a PowerShell script or function.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bonus #1<\/h3>\n\n\n\n<p>Write PowerShell code to achieve the following goals:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Create a directory called C:\\DataFiles<\/li><li>Create 25 files of varying sizes between 1KB and 1MB with your own naming convention.<br>But don't use something as simple as Test-1. Files should have a .dat extension.<\/li><li>Modify the creation and last write times to \"age\" the files between 10 and 100 days.<\/li><\/ol>\n\n\n\n<p>You might find it easier to create a simple PowerShell script file. Don't worry about error handling, parameters, or any scripting-related concepts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bonus #2<\/h3>\n\n\n\n<p>Create a formatted HTML report that shows each module location from %PSModulePath%, the number of modules in each location and their total size, and then a listing of each module which shows the most recent version and the total size of all module files.<\/p>\n\n\n\n<p>Extra bonus points if you can make it pretty with CSS formatting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where Are the Answers?<\/h2>\n\n\n\n<p>You are welcome to leave a comment with links to your work. And if you are looking for even more challenges, check out https:\/\/ironscripter.us. Enjoy and Learn!<\/p>\n\n\n\n<p><strong><em>July 30, 2021<\/em><\/strong>: You can find all of my solutions at <a href=\"https:\/\/gist.github.com\/jdhitsolutions\/e82e86efad8ed1ca1f66612d87c6e409\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/gist.github.com\/jdhitsolutions\/e82e86efad8ed1ca1f66612d87c6e409<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just wrapped up presenting to the Research Triangle PowerShell User Group. I gave them a set of PowerShell problems to solve. The idea is that in solving the problem, you improve your PowerShell skills and expertise. Tonight&#8217;s problems were not scripting problems. The answers to these puzzles are not limited to one-line commands, although&#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":"new on the blog: #PowerShell Puzzles and Challenges","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":[4],"tags":[648,534,540],"class_list":["post-8128","post","type-post","status-publish","format-standard","hentry","category-powershell","tag-challenge","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 Puzzles and Challenges &#8226; The Lonely Administrator<\/title>\n<meta name=\"description\" content=\"My PowerShell puzzles and challenges for the Research Triangle PowerShell User Group but you are welcome to try your hand as well.\" \/>\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\/8128\/powershell-puzzles-and-challenges\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell Puzzles and Challenges &#8226; The Lonely Administrator\" \/>\n<meta property=\"og:description\" content=\"My PowerShell puzzles and challenges for the Research Triangle PowerShell User Group but you are welcome to try your hand as well.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/\" \/>\n<meta property=\"og:site_name\" content=\"The Lonely Administrator\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-04T03:45:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-30T13:30:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/brainidea_thumb_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=\"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\\\/8128\\\/powershell-puzzles-and-challenges\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/\"},\"author\":{\"name\":\"Jeffery Hicks\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"headline\":\"PowerShell Puzzles and Challenges\",\"datePublished\":\"2021-02-04T03:45:10+00:00\",\"dateModified\":\"2021-07-30T13:30:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/\"},\"wordCount\":520,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/brainidea_thumb_thumb.jpg\",\"keywords\":[\"Challenge\",\"PowerShell\",\"Scripting\"],\"articleSection\":[\"PowerShell\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/\",\"name\":\"PowerShell Puzzles and Challenges &#8226; The Lonely Administrator\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/brainidea_thumb_thumb.jpg\",\"datePublished\":\"2021-02-04T03:45:10+00:00\",\"dateModified\":\"2021-07-30T13:30:26+00:00\",\"description\":\"My PowerShell puzzles and challenges for the Research Triangle PowerShell User Group but you are welcome to try your hand as well.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/#primaryimage\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/brainidea_thumb_thumb.jpg\",\"contentUrl\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/brainidea_thumb_thumb.jpg\",\"width\":261,\"height\":200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/8128\\\/powershell-puzzles-and-challenges\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PowerShell\",\"item\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/category\\\/powershell\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell Puzzles and Challenges\"}]},{\"@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 Puzzles and Challenges &#8226; The Lonely Administrator","description":"My PowerShell puzzles and challenges for the Research Triangle PowerShell User Group but you are welcome to try your hand as well.","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\/8128\/powershell-puzzles-and-challenges\/","og_locale":"en_US","og_type":"article","og_title":"PowerShell Puzzles and Challenges &#8226; The Lonely Administrator","og_description":"My PowerShell puzzles and challenges for the Research Triangle PowerShell User Group but you are welcome to try your hand as well.","og_url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/","og_site_name":"The Lonely Administrator","article_published_time":"2021-02-04T03:45:10+00:00","article_modified_time":"2021-07-30T13:30:26+00:00","og_image":[{"url":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/brainidea_thumb_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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/#article","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/"},"author":{"name":"Jeffery Hicks","@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"headline":"PowerShell Puzzles and Challenges","datePublished":"2021-02-04T03:45:10+00:00","dateModified":"2021-07-30T13:30:26+00:00","mainEntityOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/"},"wordCount":520,"commentCount":5,"publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/#primaryimage"},"thumbnailUrl":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/brainidea_thumb_thumb.jpg","keywords":["Challenge","PowerShell","Scripting"],"articleSection":["PowerShell"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/","url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/","name":"PowerShell Puzzles and Challenges &#8226; The Lonely Administrator","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/#primaryimage"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/#primaryimage"},"thumbnailUrl":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/brainidea_thumb_thumb.jpg","datePublished":"2021-02-04T03:45:10+00:00","dateModified":"2021-07-30T13:30:26+00:00","description":"My PowerShell puzzles and challenges for the Research Triangle PowerShell User Group but you are welcome to try your hand as well.","breadcrumb":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/#primaryimage","url":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/brainidea_thumb_thumb.jpg","contentUrl":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2018\/11\/brainidea_thumb_thumb.jpg","width":261,"height":200},{"@type":"BreadcrumbList","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8128\/powershell-puzzles-and-challenges\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"PowerShell","item":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},{"@type":"ListItem","position":2,"name":"PowerShell Puzzles and Challenges"}]},{"@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":8787,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8787\/prerelease-of-psfunctiontools-for-powershell\/","url_meta":{"origin":8128,"position":0},"title":"Prerelease of PSFunctionTools for PowerShell","author":"Jeffery Hicks","date":"January 13, 2022","format":false,"excerpt":"At the end of last year wrote a series of blog posts describing tools and techniques for working with PowerShell scripts and functions. My goal was to build a framework of tools that I could use to automate PowerShell scripting work, such as creating a new module from a group\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\/2022\/01\/psfunctiontools-commands.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/01\/psfunctiontools-commands.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/01\/psfunctiontools-commands.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/01\/psfunctiontools-commands.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/01\/psfunctiontools-commands.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/01\/psfunctiontools-commands.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":122,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/122\/prof-powershell\/","url_meta":{"origin":8128,"position":1},"title":"Prof. PowerShell","author":"Jeffery Hicks","date":"December 5, 2007","format":false,"excerpt":"As many of you know, I write the popular Mr. Roboto column for REDMOND magazine. Starting in January, I will be taking on a new title, Professor PowerShell. The weekly Windows Tip Sheet column I've been doing for MCPMag.com will be come Prof. PowerShell. The column will still be weekly,\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":912,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/912\/powershell-is-not-ominipotent\/","url_meta":{"origin":8128,"position":2},"title":"PowerShell Is Not Omnipotent","author":"Jeffery Hicks","date":"September 7, 2010","format":false,"excerpt":"Last week I was working on a problem in a PowerShell forum. The admin was having problems getting Add-Computer to work. After a bit of \"try this\/try that\" something became clear, and it's something that is easy to overlook. Especially when we get lulled into thinking PowerShell is omnipotent. Now,\u2026","rel":"","context":"In &quot;Best Practices&quot;","block_context":{"text":"Best Practices","link":"https:\/\/jdhitsolutions.com\/blog\/category\/best-practices\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":138,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/138\/practical-powershell-scripts-and-code\/","url_meta":{"origin":8128,"position":3},"title":"Practical PowerShell Scripts and Code","author":"Jeffery Hicks","date":"March 11, 2008","format":false,"excerpt":"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\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":8107,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8107\/scripting-challenge-meetup\/","url_meta":{"origin":8128,"position":4},"title":"Scripting Challenge Meetup","author":"Jeffery Hicks","date":"February 1, 2021","format":false,"excerpt":"As you probably know, I am the PowerShell problem master behind the challenges from the Iron Scripter site. Solving a PowerShell scripting challenge is a great way to test your skills and expand your knowledge. The final result is merely a means to an end. How you get there and\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\/2021\/02\/rubik.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8205,"url":"https:\/\/jdhitsolutions.com\/blog\/books\/8205\/updated-powershell-practice-primer-now-available\/","url_meta":{"origin":8128,"position":5},"title":"Updated PowerShell Practice Primer Now Available","author":"Jeffery Hicks","date":"March 2, 2021","format":false,"excerpt":"I have published a new version of The PowerShell Practice Primer. If you own the book and signed up for notifications, you should have received an email informing you of the new edition. That is a great benefit of publishing on Leanpub. If I update the book, you get the\u2026","rel":"","context":"In &quot;Books&quot;","block_context":{"text":"Books","link":"https:\/\/jdhitsolutions.com\/blog\/category\/books\/"},"img":{"alt_text":"PowerShell Practice Primer","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/03\/cover-thumb.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/8128","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=8128"}],"version-history":[{"count":0,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/8128\/revisions"}],"wp:attachment":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=8128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=8128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=8128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}