Chapter 9. Windows PowerShell and the Command Prompt

Everything old is new again.

Windows users of a certain age remember the MS-DOS command line, perhaps not so fondly. But even after 20 years of trying to ditch its command-line past, Windows 10 still rewards those who understand the benefits of using a command line for some common tasks.

As system administrators have known all along, sometimes typing a command is just faster than using a graphical interface, and that’s even truer for scripts that can carry out entire sequences of commands. Windows 10 includes a new-age command-based environment called Windows PowerShell, which offers tremendous power to those who are willing to invest a little time learning its ways.

But let’s begin with... ...

Get Windows 10 IT Pro Essentials Top 10 Tools 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.