Chapter 7

Working with PowerShell

IN THIS CHAPTER

check Opening a PowerShell window with administrative privileges

check Configuring and customizing your PowerShell session

check Setting environmental variables with PowerShell

check Obtaining assistance from within the PowerShell window

check Understanding PowerShell punctuation and how to use it

The Command Prompt has been a staple for many years, but Microsoft has been making a big push toward PowerShell. And it’s not hard to see why. PowerShell can run the same utilities and things that can be run in the Command Prompt, but it can also run much more than that. By importing modules, you can expand the things that PowerShell can do.

PowerShell is a very flexible option for system administrators. The console can run the legacy commands that were available in the Command Prompt, as well as the newer PowerShell commands and scripts. PowerShell improves on the ability to support automation across platforms, including on-premise datacenters, Azure, Amazon Web Services ...

Get Windows Server 2022 & Powershell All-in-One For Dummies 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.