Working with PowerShell 7 and Windows
Welcome to the final section of the book, where over the next four chapters we’ll look at using PowerShell 7 in different environments. In this chapter, we’ll be looking at the peculiarities of Windows-based systems, and the various workarounds that exist to allow us to use PowerShell 7 effectively. We’ll also look at when we absolutely need to use native Windows PowerShell instead. It’s important to remember that PowerShell 7 is an open source product and is subject to fast-paced change. The examples in this and subsequent chapters are true at the time of writing, but may not be true at the time of reading. Also; there are bugs. The PowerShell GitHub pages are a powerful source of information regarding recent changes, and also things that don’t work the way they should: https://github.com/PowerShell/PowerShell.
As we covered in Chapter 1, Introduction to PowerShell 7 – What It Is and How to Get It,...