1

Installing and Configuring PowerShell 7

This chapter covers the following recipes:

  • Installing PowerShell 7
  • Installing PowerShell 7 Using Chocolatey
  • Using the PowerShell 7 Console
  • Building PowerShell 7 Profile Files
  • Exploring Installation Artifacts
  • Installing VS Code
  • Installing the Cascadia Code Font
  • Exploring PSReadLine

Introduction

Microsoft Windows PowerShell was first introduced to the public in 2003, and released formally, as Windows PowerShell v1, in 2006. Microsoft has released multiple versions of Windows PowerShell. Microsoft plans to support Windows PowerShell 5.1 for a long time, but no new features are likely.

In 2016, the PowerShell development team began working on an open-source version of PowerShell based on the open-source ...

Get Windows Server Automation with PowerShell Cookbook - Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.