{"id":9023,"date":"2022-05-11T14:21:50","date_gmt":"2022-05-11T18:21:50","guid":{"rendered":"https:\/\/jdhitsolutions.com\/blog\/?p=9023"},"modified":"2022-05-11T14:21:56","modified_gmt":"2022-05-11T18:21:56","slug":"powershell-first-timers","status":"publish","type":"post","link":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/","title":{"rendered":"PowerShell First-Timers"},"content":{"rendered":"\n<p>Are you a PowerShell first-timer? Someone who is finally dipping their toes into the PowerShell pool. Or maybe you want to poke around and see what all the fuss is about.  If so, here are some steps you might want to take. Even if you've been using PowerShell for a while, you might want to double-check your desktop against my recommendations.<\/p>\n\n\n\n<p>Windows PowerShell ships with Windows 10 and Windows 11, but the bits haven't changed in the image for years. If you have installed PowerShell 7, that too may require some updating. Unfortunately, there are a few gotchas, but I can help you out.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Update Help Content<\/h2>\n\n\n\n<p>The first thing you should do on any new installation is update the help. PowerShell ships with minimal help. You only need to do this on computers where you are running PowerShell interactively and writing scripts. This is typically your Windows 10\/11 desktop. Because some of the help content is in administrator-level directories, you should use an elevated PowerShell session run as an administrator.<\/p>\n\n\n\n<p>The command is simple enough.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"powershell\" class=\"language-powershell\">Update-Help -force<\/code><\/pre>\n\n\n\n<p>You should expect to see a few errors. Not every module has valid links for updateable help. If you see errors for lots of modules, something probably went wrong. Make sure you run this in an elevated PowerShell session. <\/p>\n\n\n\n<p>Help content is updated all the time, but there is no mechanism to inform you when to update help. I manually update help whenever I realize I haven't done it in a while. Or you could put something in your PowerShell profile script.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"powershell\" class=\"language-powershell\">$today = Get-Date\n$days = 1,11,22\nif ($days -contains $today.day) {\n    #update help\n    Write-Host \"Updating help via a background job\" -ForegroundColor yellow\n    [void](Start-Job {Update-Help -force})\n}<\/code><\/pre>\n\n\n\n<p>This will update help on the specified day of the month.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PowerShell Get<\/h2>\n\n\n\n<p>Part of the update process is going to include modules. This will use commands from the PowerShellGet module, which itself should be updated. Run Get-Module to test your version.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><a href=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/powershellget-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"590\" height=\"229\" src=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/powershellget-1.png\" alt=\"default PowerShellGet version\" class=\"wp-image-9024\" srcset=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/powershellget-1.png 590w, https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/powershellget-1-300x116.png 300w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/a><\/figure>\n\n\n\n<p>If you don't see any newer versions, you need to update this module. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><a href=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/update-powershellget.png\"><img loading=\"lazy\" decoding=\"async\" width=\"948\" height=\"296\" src=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/update-powershellget.png\" alt=\"update powershellget error\" class=\"wp-image-9025\" srcset=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/update-powershellget.png 948w, https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/update-powershellget-300x94.png 300w, https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/update-powershellget-768x240.png 768w, https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/update-powershellget-850x265.png 850w\" sizes=\"auto, (max-width: 948px) 100vw, 948px\" \/><\/a><\/figure>\n\n\n\n<p>Well, technically, you need to install it. Because v1.0.0.1 was not installed with Install-Module, you can't upgrade it. You have to install it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"powershell\" class=\"language-powershell\">Install-Module PowerShellGet -Force<\/code><\/pre>\n\n\n\n<p>Once you've done this, you can use Update-Module in the future. At this point, I recommend restarting your PowerShell session to ensure you load the new version of commands like Find-Module and Install-Module.<\/p>\n\n\n\n<p>The PowerShell Gallery was reconfigured a while ago to require updated TLS settings. If you get errors trying to find or install modules that indicate connection failures or \"can't find module,\" you might need to adjust your security settings. I believe Microsoft has updated Windows 10\/11 to avoid this problem, but if you need it, run this command from a PowerShell prompt.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"powershell\" class=\"language-powershell\">[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12<\/code><\/pre>\n\n\n\n<p>If your OS isn't current, you should put this statement in your PowerShell profile script.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PSReadline<\/h2>\n\n\n\n<p>You absolutely want the latest version of PSReadline. This module provides command completion and prediction, among other valuable services. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><a href=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/psreadline-default.png\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"196\" src=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/psreadline-default.png\" alt=\"default PSReadline\" class=\"wp-image-9026\" srcset=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/psreadline-default.png 708w, https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/psreadline-default-300x83.png 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/a><\/figure>\n\n\n\n<p>If this is the only version you see, you need to upgrade. This module also ships with Windows, so you can't upgrade it. You have to install it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">Install-Module PSReadline -force<\/code><\/pre>\n\n\n\n<p>As with PowerShellGet, from here on out, you can update it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pester<\/h2>\n\n\n\n<p>If you are writing scripts and modules, you should also be writing <a href=\"https:\/\/pester.dev\/docs\/quick-start\" target=\"_blank\" rel=\"noreferrer noopener\">Pester <\/a>tests. The Pester module ships with Windows.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><a href=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-default.png\"><img loading=\"lazy\" decoding=\"async\" width=\"807\" height=\"223\" src=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-default.png\" alt=\"\" class=\"wp-image-9027\" srcset=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-default.png 807w, https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-default-300x83.png 300w, https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-default-768x212.png 768w\" sizes=\"auto, (max-width: 807px) 100vw, 807px\" \/><\/a><\/figure>\n\n\n\n<p>Not a problem. By now, you know you should use Install-Module.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><a href=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-install-fail.png\"><img loading=\"lazy\" decoding=\"async\" width=\"949\" height=\"244\" src=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-install-fail.png\" alt=\"\" class=\"wp-image-9028\" srcset=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-install-fail.png 949w, https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-install-fail-300x77.png 300w, https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-install-fail-768x197.png 768w, https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/pester-install-fail-850x219.png 850w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/a><\/figure>\n\n\n\n<p>Sorry. There is a long-standing bug with the security catalog associated with the Pester module. I have no idea why this hasn't been resolved. Regardless, here's how you can install it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"powershell\" class=\"language-powershell\">Install-Module Pester -force -skipPublisherCheck<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p>Most of these tasks are one-time events. Once you get a few out-of-the-box modules installed, you can keep them up to date with Update-Module. I know you'll have a better PowerShell experience if you take the time to run through these tasks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you a PowerShell first-timer? Someone who is finally dipping their toes into the PowerShell pool. Or maybe you want to poke around and see what all the fuss is about. If so, here are some steps you might want to take. Even if you&#8217;ve been using PowerShell for a while, you might want to&#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 blog: A #PowerShell First-Timer Task List","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":[221,520,534,528,587],"class_list":["post-9023","post","type-post","status-publish","format-standard","hentry","category-powershell","tag-module","tag-pester","tag-powershell","tag-powershellget","tag-psreadline"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PowerShell First-Timers &#8226; The Lonely Administrator<\/title>\n<meta name=\"description\" content=\"If you are a PowerShell first-timer, or starting with PowerShell on a fresh Windows 10 or 11 install, you should run through this checklist.\" \/>\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\/9023\/powershell-first-timers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell First-Timers &#8226; The Lonely Administrator\" \/>\n<meta property=\"og:description\" content=\"If you are a PowerShell first-timer, or starting with PowerShell on a fresh Windows 10 or 11 install, you should run through this checklist.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/\" \/>\n<meta property=\"og:site_name\" content=\"The Lonely Administrator\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-11T18:21:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-11T18:21:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/powershellget-1.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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/\"},\"author\":{\"name\":\"Jeffery Hicks\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"headline\":\"PowerShell First-Timers\",\"datePublished\":\"2022-05-11T18:21:50+00:00\",\"dateModified\":\"2022-05-11T18:21:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/\"},\"wordCount\":620,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/powershellget-1.png\",\"keywords\":[\"module\",\"Pester\",\"PowerShell\",\"PowerShellGet\",\"PSReadLIne\"],\"articleSection\":[\"PowerShell\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/\",\"name\":\"PowerShell First-Timers &#8226; The Lonely Administrator\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/powershellget-1.png\",\"datePublished\":\"2022-05-11T18:21:50+00:00\",\"dateModified\":\"2022-05-11T18:21:56+00:00\",\"description\":\"If you are a PowerShell first-timer, or starting with PowerShell on a fresh Windows 10 or 11 install, you should run through this checklist.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/#primaryimage\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/powershellget-1.png\",\"contentUrl\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/powershellget-1.png\",\"width\":590,\"height\":229},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/9023\\\/powershell-first-timers\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PowerShell\",\"item\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/category\\\/powershell\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell First-Timers\"}]},{\"@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 First-Timers &#8226; The Lonely Administrator","description":"If you are a PowerShell first-timer, or starting with PowerShell on a fresh Windows 10 or 11 install, you should run through this checklist.","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\/9023\/powershell-first-timers\/","og_locale":"en_US","og_type":"article","og_title":"PowerShell First-Timers &#8226; The Lonely Administrator","og_description":"If you are a PowerShell first-timer, or starting with PowerShell on a fresh Windows 10 or 11 install, you should run through this checklist.","og_url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/","og_site_name":"The Lonely Administrator","article_published_time":"2022-05-11T18:21:50+00:00","article_modified_time":"2022-05-11T18:21:56+00:00","og_image":[{"url":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/powershellget-1.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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/#article","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/"},"author":{"name":"Jeffery Hicks","@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"headline":"PowerShell First-Timers","datePublished":"2022-05-11T18:21:50+00:00","dateModified":"2022-05-11T18:21:56+00:00","mainEntityOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/"},"wordCount":620,"commentCount":3,"publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/#primaryimage"},"thumbnailUrl":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/powershellget-1.png","keywords":["module","Pester","PowerShell","PowerShellGet","PSReadLIne"],"articleSection":["PowerShell"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/","url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/","name":"PowerShell First-Timers &#8226; The Lonely Administrator","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/#primaryimage"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/#primaryimage"},"thumbnailUrl":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/powershellget-1.png","datePublished":"2022-05-11T18:21:50+00:00","dateModified":"2022-05-11T18:21:56+00:00","description":"If you are a PowerShell first-timer, or starting with PowerShell on a fresh Windows 10 or 11 install, you should run through this checklist.","breadcrumb":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/#primaryimage","url":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/powershellget-1.png","contentUrl":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2022\/05\/powershellget-1.png","width":590,"height":229},{"@type":"BreadcrumbList","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/9023\/powershell-first-timers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"PowerShell","item":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},{"@type":"ListItem","position":2,"name":"PowerShell First-Timers"}]},{"@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":343,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/343\/revising-windows-powershell-tfm-3rd\/","url_meta":{"origin":9023,"position":0},"title":"Revising Windows PowerShell: TFM 3rd","author":"Jeffery Hicks","date":"August 21, 2009","format":false,"excerpt":"I know there was some concern related to my departure from SAPIEN about the status of the Windows PowerShell: TFM book. You\u2019ll be happy to know that Don Jones and I are both involved now in the final revisions.\u00a0 SAPIEN is very committed to this project and supporting the PowerShell\u2026","rel":"","context":"In &quot;Books&quot;","block_context":{"text":"Books","link":"https:\/\/jdhitsolutions.com\/blog\/category\/books\/"},"img":{"alt_text":"header_sapien_press","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2009\/08\/header_sapien_press.gif?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":8027,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8027\/powershell-modules-in-a-cross-version-world\/","url_meta":{"origin":9023,"position":1},"title":"PowerShell Modules in a Cross-Version World","author":"Jeffery Hicks","date":"January 14, 2021","format":false,"excerpt":"The other day I was helping a friend sort out some module-related questions. While helping him, I realized his questions and problems were not unique. Now that many of us are running Windows PowerShell 7 side-by-side, what are the implications when it comes to using PowerShell modules? What are the\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\/01\/module-locations.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/01\/module-locations.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/01\/module-locations.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/01\/module-locations.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/01\/module-locations.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":8013,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8013\/what-the-shell-is-happening\/","url_meta":{"origin":9023,"position":2},"title":"What the Shell is Happening?","author":"Jeffery Hicks","date":"January 13, 2021","format":false,"excerpt":"The PowerShell community is beginning another year in the world of PowerShell 7. Most of you know what that means. However, there are newcomers to our community practically every day. Or I know there are occasional or reluctant users who might not pay enough attention to understand the world of\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\/01\/winps-variables.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/01\/winps-variables.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/01\/winps-variables.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/01\/winps-variables.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":610,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell-v2-0\/610\/powershell-quick-start-on-server-core-r2\/","url_meta":{"origin":9023,"position":3},"title":"PowerShell Quick Start on Server Core R2","author":"Jeffery Hicks","date":"March 29, 2010","format":false,"excerpt":"The great thing about the Server Core flavor that ships with Windows Server 2008 R2 is that it finally supports Windows PowerShell. I\u2019ve talked about this before. However, I think I neglected some of the finer points in getting started. You can (and should) run PowerShell on your R2 Core\u2026","rel":"","context":"In &quot;PowerShell v2.0&quot;","block_context":{"text":"PowerShell v2.0","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell-v2-0\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6371,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/6371\/making-the-leap-to-powershell-core\/","url_meta":{"origin":9023,"position":4},"title":"Making the Leap to PowerShell Core","author":"Jeffery Hicks","date":"January 9, 2019","format":false,"excerpt":"For years I have spent most of my time in a Windows PowerShell prompt. I have actually taken it as a badge of honor that I've been able to manage my day and all of my work from a PowerShell prompt. I also have created practically all of my content\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\/2019\/01\/image_thumb-11.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2019\/01\/image_thumb-11.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2019\/01\/image_thumb-11.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2019\/01\/image_thumb-11.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":8750,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/8750\/powershell-plans-for-2022\/","url_meta":{"origin":9023,"position":5},"title":"PowerShell Plans for 2022","author":"Jeffery Hicks","date":"December 27, 2021","format":false,"excerpt":"I'm not much for writing year in review pieces. Nor, to be honest, do I often write New Year's resolutions. But I've been thinking about the work I've done this past year and what I might be doing in 2022 so I thought I'd share some thoughts on what 2022\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"binoculars","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/07\/pexels-skitterphoto-63901.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/9023","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=9023"}],"version-history":[{"count":0,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/9023\/revisions"}],"wp:attachment":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=9023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=9023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=9023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}