Learn PowerShell Video & Blog Series
Learn PowerShell in this operationally focused blog and video series. This PowerShell training series is designed to get you ramped up and using PowerShell quickly.
Learn how to use PowerShell via your preferred format. If you prefer reading based training, a blog post is available for each PowerShell topic. If you prefer video format, there is a corresponding training video for each PowerShell lesson.
All PowerShell code examples in the course are easily referenced in each blog article. Alternatively you can clone the Learn-PowerShell-Code-Examples GitHub repository to easily reference all code examples.
Learn PowerShell Episodes
EP.0 – Should you learn PowerShell?
A commitment to learn PowerShell will not be a small investment of your time. First explore what PowerShell is capable of, who is using it, and how it compares to other languages. Determine if PowerShell makes sense for you in today’s technology landscape.
Blog write-up: Should you learn PowerShell?
EP.1 – PowerShell Basics
Learn PowerShell by leveraging three basic PowerShell commands. In this first episode of Learn PowerShell you’ll be introduced to some of the PowerShell basics to get you using PowerShell quickly. Start by learning just three cmdlets that open the power of PowerShell!
Corresponding blog write-up: Learn and use PowerShell with just three commands
EP.2 – PowerShell Pipeline
Learn how to leverage the PowerShell pipeline to pipe objects between cmdlets. See how object results from one cmdlet can be used by another. In this second episode of Learn PowerShell you’ll see how the pipeline operator makes PowerShell so powerful!
Corresponding blog write-up: Working with the PowerShell Pipeline
EP.3 – State of the Shell
Learn where PowerShell is today, and where it is headed tomorrow. In this third episode of Learn PowerShell you’ll take a brief look at PowerShell history, and then explore the current and future state of PowerShell. You’ll also get some insight into the different versions of PowerShell including Windows PowerShell 5.1 vs PowerShell 6+.
Corresponding blog write-up : PowerShell History and Current State
EP.4 – PowerShell Dev Setup
Learn how to configure and setup your computer for PowerShell Development. In this fourth episode of Learn PowerShell you learn to start coding PowerShell daily with a few free components and easy configuration. Follow along with this video for an easy step-by-step walk-through for getting setup to start writing PowerShell.
Corresponding blog write-up : Getting setup for PowerShell Development
EP.5 – Working With PowerShell Variables
Learn how to use and work with PowerShell variables. In this fifth episode of Learn PowerShell you’ll start to understand variable types, and how to identify PowerShell constant and environment variables. I’ll demo how to strongly type variables, and how different types of quotes can impact PowerShell variable use. Finish this lesson off with an easy how to example that demos PowerShell use in the real world!
Corresponding blog write-up : Working With PowerShell Variables
EP.6 – Taking Control with PowerShell Logic
Learn how to enhance your PowerShell by using PowerShell logic controls. In this sixth episode of Learn PowerShell we’ll explore if, elseif, conditional tests, loops, and switches. I walk-through each logic control and demo an example. Finish this lesson of with a real world practical example that shows you how to combine PowerShell logic controls together to create powerful results!
Corresponding blog write-up : Taking Control with PowerShell Logic
EP.7 – PowerShell Input & Output
Learn how to take in more dynamic PowerShell input and generate various types of PowerShell output. Take more control of your PowerShell Input & Output in this short video demo. See examples of how to prompt for user input, retrieve information from the web, and use PowerShell to get file content as your input. Wrap up with various demos on how to output to console and file.
Corresponding blog write-up: PowerShell Input & Output
EP.8 – PowerShell Errors and Exceptions Handling
Learn how to handle PowerShell Errors and Exceptions. See how to recognize and deal with non-terminating and terminating PowerShell errors. Take control and handle various errors with try catch. Explore rich PowerShell error objects and see how to drill down into error properties. Wrap up with a practical example where you can provide better feedback to your users when your PowerShell code encounters the unexpected.
Corresponding blog write-up : PowerShell Errors and Exceptions Handling
Ep.9 – PowerShell Remoting
Learn how to manage remote devices in your environment with PowerShell remoting. Connect to one or hundreds of devices using the power of PowerShell! I’ll demo how to remotely manage Windows devices via WinRM and show you Linux to Linux over PowerShell using ssh. You’ll learn how to create sessions to individual as well as multiple devices. Wrap up with a practical example where you can audit your entire environment in just a few minutes using basic PowerShell logic.
Corresponding blog write-up : PowerShell Remoting
Ep.10 – PowerShell Scripts
Learn how to create and run PowerShell scripts. Adjust your execution policy to permit scripts on your system, and understand script scope. Get your first introduction to the param block and how it enables powerful dynamic capability. Follow along with an example and watch the process in a live script session. See the thought process and workflow that goes into scripting PowerShell solutions and writing your own PowerShell scripts.
Corresponding blog write-up: PowerShell Scripts
Ep.11 – PowerShell Functions
Learn how to work with PowerShell Functions. Discover the difference between an advanced and standard PowerShell function. I also tackle the question of why you might write a PowerShell Function vs PowerShell Script. Go beyond theory – this episode uses real life fully functional PowerShell Functions to explore how functions are made and how they operate.
Corresponding blog write-up: PowerShell Functions
The Learn PowerShell series is still under development. Get notified when the next episode is available by subscribing at the bottom of this page, or by subscribing to the TechThoughts YouTube channel.
If you are able, and found this content valuable, please consider a donation to TechThoughts. Your contribution helps offset the costs of producing this series and running this site! Much appreciated!