Chapter 6

Working at the Command Line

IN THIS CHAPTER

check Opening an administrative Command Prompt to manage your server

check Configuring the command line for use

check Setting up user and session environmental variables

check Getting additional help at the command line

check Understanding command line symbols and what they do

Just about every system administrator has worked with the Command Prompt at some point in their career. The Command Prompt is a launching point for a number of diagnostic utilities and a great resource for gathering information, in addition to being a utility to automate repetitive tasks.

This chapter discusses working with the command line — from the basics on how to use the command line to how to customize it to your liking.

Opening an Administrative Command Prompt

The simplest way to get to the Command Prompt in Windows Server 2022 is to click the Start menu, scroll down to Windows System, and click Command Prompt. This will run the Command Prompt in an unprivileged state.

For ...

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.