jdhitsolutions / SpiceWorld2021

Materials from my Spice World 2021 presentation on PowerShell Scripting Patterns and Practices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PowerShell Scripting Patterns and Practices

powershell

PowerShell is all about automation. It doesn't matter if you want to automate the provisioning of a new Microsoft 365 account, create a Hyper-V virtual machine, or get system information. You will need to script and you will want to do it the right way. This repository contains material from my SpiceWorld 2021 presentation.

The PowerShell script files contain demonstration code. These are not files to execute. Open the files in your scripting editor (presumably VS Code) and review. Many of the files contain examples of poor PowerShell scripting followed by suggested improved versions. Hopefully, you can use these "better" versions as models for your own work.

Bonus Content

The bonus zip file contains a video file. It is content I recorded but was unable to fit into the final conference session due to time constraints. The PDF version of my slides reflects what I recorded not necessarily the final conference recording.

Because of the size of the file, it is not stored as part of the GitHub repository. If you download a zip file of the repository using the code button above, the bonus zip file won't be properly included. You'll most likely get an error about a corrupt fil when you try to open it. Instead, select the PSScripting-Patterns-Practics-Bonus.zip file from the listing in this repository and download from Git LFS.

All of the material in this repository is offered freely for educational purposes only. Nothing should be considered production-ready.

📖 Learn More 🎓

In addition to the well-known Learn PowerShell in a Month of Lunches book, you can find my other work on Leanpub.

PowerShell PracticePrimer The PowerShell Practice Primer isn't a book to teach your PowerShell, but rather to re-inforce what you already know through 100+ console-based exercises. No scripting is required. Updated with PowerShell 7.x content.
PowerShell Scripting and Toolmaking If you have read Learn PowerShell Scripting in a Month of Lunches, then you are ready for the next step. Don Jones and I wrote The PowerShell Scripting and Toolmaking Book intending it to be the definitive guide on everything you need to know to be a better PowerShell scripter and toolmaker.
pluralsight I have been creating video training courses for over ten years. I have a large course catalog at Pluralsight, with an emphasis on PowerShell-related content. If you are just getting started with PowerShell 7, I got you covered there as well.

About

Materials from my Spice World 2021 presentation on PowerShell Scripting Patterns and Practices

License:Other


Languages

Language:PowerShell 100.0%